note 19227 added to function.addslashes

From: Date: Wed, 20 Feb 2002 10:09:07 +0000
Subject: note 19227 added to function.addslashes
Groups: php.notes 
Request: Send a blank email to php-notes+get-26835@lists.php.net to get a copy of this message
I had the problem of having over 400 strings going into mySQL, and caused errors quite a lot, I added foreach ($HTTP_POST_VARS as $key=>$arg){ ${$key}=addslashes($arg); } and everything was fine :) -- http://www.php.net/manual/en/function.addslashes.php http://master.php.net/manage/user-notes.php?action=edit+19227 http://master.php.net/manage/user-notes.php?action=delete+19227 http://master.php.net/manage/user-notes.php?action=reject+19227

« previous php.notes (#26835) next »