|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30909 How to use NULLS in mysqli prepared statements
Submitted: 2004-11-26 14:42 UTC Modified: 2004-11-26 14:44 UTC
From: phoeniks2k at mail dot ru Assigned:
Status: Not a bug Package: MySQLi related
PHP Version: 5.0.2 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: phoeniks2k at mail dot ru
New email:
PHP Version: OS:


 [2004-11-26 14:42 UTC] phoeniks2k at mail dot ru
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-26 14:44 UTC]
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
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 01 08:01:29 2023 UTC