note 66750 added to function.pg-escape-string

From: Date: Sat, 27 May 2006 23:21:57 +0000
Subject: note 66750 added to function.pg-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-112419@lists.php.net to get a copy of this message
Since php 5.1 the new function pg_query_params() was introduced. With this function you can use bind variables and don't have to escape strings. If you can use it, do so. If unsure why, check the changelog for Postgres 8.0.8. ---- Server IP: 66.163.161.117 Probable Submitter: 83.76.98.121 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.pg-escape-string.php Edit -- http://master.php.net/note/edit/66750 Del: integrated -- http://master.php.net/note/delete/66750/integrated Del: useless -- http://master.php.net/note/delete/66750/useless Del: bad code -- http://master.php.net/note/delete/66750/bad+code Del: spam -- http://master.php.net/note/delete/66750/spam Del: non-english -- http://master.php.net/note/delete/66750/non-english Del: in docs -- http://master.php.net/note/delete/66750/in+docs Del: other reasons-- http://master.php.net/note/delete/66750 Reject -- http://master.php.net/note/reject/66750 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112419) next »