note 98994 added to function.mysql-real-escape-string

From: Date: Wed, 21 Jul 2010 09:21:16 +0000
Subject: note 98994 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-171005@lists.php.net to get a copy of this message
How to deal with commas? cause if you have a $_POST variable that contains one or more commas when you execute mysql_query it will be interpreted as multiple fields and not as a single value ---- Server IP: 69.147.83.197 Probable Submitter: 159.213.80.38 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- https://master.php.net/note/edit/98994 Del: integrated -- https://master.php.net/note/delete/98994/integrated Del: useless -- https://master.php.net/note/delete/98994/useless Del: bad code -- https://master.php.net/note/delete/98994/bad+code Del: spam -- https://master.php.net/note/delete/98994/spam Del: non-english -- https://master.php.net/note/delete/98994/non-english Del: in docs -- https://master.php.net/note/delete/98994/in+docs Del: other reasons-- https://master.php.net/note/delete/98994 Reject -- https://master.php.net/note/reject/98994 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171005) next »