note 96208 deleted from mysqli.prepare by danbrown

From: Date: Mon, 15 Feb 2010 11:35:20 +0000
Subject: note 96208 deleted from mysqli.prepare by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-165964@lists.php.net to get a copy of this message
Note Submitter: chrisjohnson00 at hotmail dot com ---- I performed some tests comparing mysql_query(), with $mysqli->query() and MySQLi prepared statements. What I found interesting is that using prepared statements doesn't actually speed up the inserts. I have a feeling MySQL doesn't properly use prepared statements. Prepared statements only speed up the inserts if you would normally escape the values first (which you always should) http://wp.me/pN7dZ-r#mysqli_prepared

« previous php.notes (#165964) next »