For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2004 > #30908 [Opn->Fbk]: How to use NULLS in mysqli prepared statements









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 #30908 [Opn->Fbk]: How to use NULLS in mysqli prepared statements
georg@php.net

2004-11-26, 4:07 pm

ID: 30908
Updated by: georg@php.net
Reported By: phoeniks2k at mail dot ru
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: All
PHP Version: 5.0.2
New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------

[2004-11-26 14:42:18] phoeniks2k at mail dot ru

Description:
------------
I can't find how to bind NULL with mysqli_stmt_bind_param()
Even when i use string and pass NULL it's converted to '' (empty
string), int is converted to 0.

But i need to insert NULLs.

If it's a doc miss, please describe how to use NULLs, othewise fix
mysqli extension



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=30908&edit=1
Sponsored Links







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

Copyright 2008 codecomments.com