note 116975 added to mysqli.prepare

From: Date: Mon, 30 Mar 2015 01:09:33 +0000
Subject: note 116975 added to mysqli.prepare
Groups: php.notes 
Request: Send a blank email to php-notes+get-202073@lists.php.net to get a copy of this message
Don't let yourself be bullied into using prepared statements. There's nothing wrong with using them, but regular queries also have their benefits. Namely prepared statements are perfect for queries that you need to execute in a loop, while regular queries are faster for queries that execute once per script execution and are just as safe if you are properly sanitizing your data with mysqli_real_escape_string(). ---- Server IP: 72.52.91.14 Probable Submitter: 71.238.53.146 ---- Manual Page -- http://php.net/manual/en/mysqli.prepare.php Edit -- https://master.php.net/note/edit/116975 Del: integrated -- https://master.php.net/note/delete/116975/integrated Del: useless -- https://master.php.net/note/delete/116975/useless Del: bad code -- https://master.php.net/note/delete/116975/bad+code Del: spam -- https://master.php.net/note/delete/116975/spam Del: non-english -- https://master.php.net/note/delete/116975/non-english Del: in docs -- https://master.php.net/note/delete/116975/in+docs Del: other reasons-- https://master.php.net/note/delete/116975 Reject -- https://master.php.net/note/reject/116975 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202073) next »