For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > January 2006 > Re: [PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-stmt-send-long-data.x









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-stmt-send-long-data.x
Nuno Lopes

2006-01-30, 6:57 pm

> 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/phpd...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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com