vrana Mon Jan 30 16:15:20 2006 UTC
Modified files:
/phpdoc/en/reference/mysqli/functions
mysqli-stmt-send-long-data.xml
Log:
Example (bug #36085)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/mysqli/functions/mysqli-stmt-send-long-data.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-stmt-send-long-data.xml
diff -u
phpdoc/en/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.6
phpdoc/en/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.7
---
phpdoc/en/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.6
Tue Apr 26 14:33:31 2005
+++ phpdoc/en/reference/mysqli/functions/mysqli-stmt-send-long-data.xml
Mon Jan 30 16:15:20 2006
@@ -41,6 +41,26 @@
<para>&return.success;</para>
</refsect1>
<refsect1>
+ &reftitle.examples;
+ <example>
+ <title>Object oriented style</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$stmt = $mysqli->prepare("INSERT INTO messages (message) VALUES (?)");
+$stmt->bind_param("b", $null);
Typo! That $null will generate an E_NOTICE.
Nuno