note 17490 deleted from function.addslashes by zak
| From: | zak@php.net | Date: | Tue, 11 Dec 2001 18:07:11 +0000 |
| Subject: | note 17490 deleted from function.addslashes by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22509@lists.php.net to get a copy of this message | ||
Here's an easy (PHP 4) way to addslashes to all form variables<br>
foreach($HTTP_GET_VARS as $key => $value) $$key = addslashes($value);