#30909 [Opn->Bgs]: How to use NULLS in mysqli prepared statements
| From: | derick@php.net | Date: | Fri, 26 Nov 2004 13:44:28 +0000 |
| Subject: | #30909 [Opn->Bgs]: How to use NULLS in mysqli prepared statements | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69484@lists.php.net to get a copy of this message | ||
ID: 30909
Updated by: derick@php.net
Reported By: phoeniks2k at mail dot ru
-Status: Open
+Status: Bogus
Bug Type: MySQLi related
Operating System: All
PHP Version: 5.0.2
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
See #30908
Previous Comments:
------------------------------------------------------------------------
[2004-11-26 14:42:56] 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=30909&edit=1