From: phoeniks2k at mail dot ru Operating system: All PHP version: 5.0.2 PHP Bug Type: Documentation problem 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=30908&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30908&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30908&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30908&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30908&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30908&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30908&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30908&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30908&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30908&r=support Expected behavior: http://bugs.php.net/fix.php?id=30908&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30908&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30908&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30908&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30908&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30908&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30908&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30908&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30908&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30908&r=mysqlcfg