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
vrana@php.net

2006-01-30, 6:58 pm

>> +$stmt->bind_param("b", $null);
> Typo! That $null will generate an E_NOTICE.


It is only a dummy variable but you are right that it produces
E_NOTICE anyway.

Jakub Vr=E1na
Nuno Lopes

2006-01-30, 6:58 pm

> > +$stmt->bind_param("b", $null);
>
> It is only a dummy variable but you are right that it produces
> E_NOTICE anyway.
>
> Jakub Vrána


pardon my ignorance (I haven't tried MySQLi yet..), but can't you pass null
directly?
like:
$stmt->bind_param('b', null);

Nuno
Sponsored Links







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

Copyright 2008 codecomments.com