#30909 [NEW]: How to use NULLS in mysqli prepared statements
| From: | phoeniks2k at mail dot ru | Date: | Fri, 26 Nov 2004 13:42:57 +0000 |
| Subject: | #30909 [NEW]: How to use NULLS in mysqli prepared statements | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-69483@lists.php.net to get a copy of this message | ||
From: phoeniks2k at mail dot ru
Operating system: All
PHP version: 5.0.2
PHP Bug Type: MySQLi related
Bug description: How to use NULLS in mysqli prepared statements
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 bug report at http://bugs.php.net/?id=30909&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30909&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30909&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30909&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30909&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30909&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30909&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30909&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30909&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30909&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30909&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30909&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30909&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30909&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30909&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30909&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30909&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30909&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30909&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30909&r=mysqlcfg