View Single Post
Old March 13th, 2008, 1:13 PM   #17 (permalink)
Mark
Surpass Developer
On a golden path...
 
Mark's Avatar
 
Joined in Jan 2004
Lives in Florida
Hosted on decc.surpasshosting.com
466 posts
Gave thanks: 15
Thanked 75 times
I've used something like that:


PHP Code:
   function escape_array($array) {
       foreach (
$array as $key => $value) {
               if (
is_array($value)) {
                       
$array[$key] = escape_array($value);
               } else {
                       
$array[$key] = mysql_real_escape_string(trim($value));
               }
       }
       return 
$array;
    } 
However this eats them too stupid php
__________________
Mark
Surpass Hosting Developer
sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ
Mark is offline   Reply With Quote