note 71527 added to function.odbc-do

From: Date: Mon, 04 Dec 2006 15:23:08 +0000
Subject: note 71527 added to function.odbc-do
Groups: php.notes 
Request: Send a blank email to php-notes+get-120268@lists.php.net to get a copy of this message
To clear up: the SQL standard requires strings to be inside single quotes: 'string'. It simply does not accept double quotes for this purpose. Furthermore, in PHP, you can have a single quote inside double quotes: "select a from b where c = 'string'" without the need to escape. ---- Server IP: 216.194.113.175 Probable Submitter: 209.10.89.3 ---- Manual Page -- http://www.php.net/manual/en/function.odbc-do.php Edit -- https://master.php.net/note/edit/71527 Del: integrated -- https://master.php.net/note/delete/71527/integrated Del: useless -- https://master.php.net/note/delete/71527/useless Del: bad code -- https://master.php.net/note/delete/71527/bad+code Del: spam -- https://master.php.net/note/delete/71527/spam Del: non-english -- https://master.php.net/note/delete/71527/non-english Del: in docs -- https://master.php.net/note/delete/71527/in+docs Del: other reasons-- https://master.php.net/note/delete/71527 Reject -- https://master.php.net/note/reject/71527 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120268) next »