Correct example code and output.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@197744 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dan Scott 2005-10-06 14:53:20 +00:00
parent 341def490a
commit d53a44d48c

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<refentry id="function.db2-bind-param">
<refnamediv>
@ -210,7 +210,7 @@ db2_bind_param($stmt, 2, "second_name", DB2_PARAM_INOUT);
db2_bind_param($stmt, 3, "weight", DB2_PARAM_OUT);
print "Values of bound parameters _before_ CALL:\n";
print " {$name} {$second_name} {$weight}\n\n";
print " 1: {$name} 2: {$second_name} 3: {$weight}\n\n";
if (db2_execute($stmt)) {
print "Values of bound parameters _after_ CALL:\n";
@ -231,7 +231,7 @@ Values of bound parameters _before_ CALL:
1: Peaches 2: Rickety Ride 3:
Values of bound parameters _after_ CALL:
1: Peaches 2: Rickety Ride 3:
1: Peaches 2: TRUE 3: 22
Results:
Peaches, dog, 12.3