note 116328 deleted from function.call-user-func-array by cmb

From: Date: Sun, 30 Aug 2015 17:57:47 +0000
Subject: note 116328 deleted from function.call-user-func-array by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-203505@lists.php.net to get a copy of this message
Note Submitter: admin at NOSPAM dot t61 dot org ---- There is a easy way to bind NULL values: just replace your type with integer (use "i"), and value NULL will be inserted as NULL because "i" builds a query without quotes. <?php private static function _determine_variable_type( $value = '' ) { $type = substr( gettype( $value ), 0, 1 ); if ($type == 'N') $type = 'i'; return $type; } ?>

« previous php.notes (#203505) next »