note 19227 deleted from function.addslashes by zak
| From: | zak@php.net | Date: | Wed, 20 Feb 2002 17:46:34 +0000 |
| Subject: | note 19227 deleted from function.addslashes by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-26854@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 :)