![]() |
|
|
|
|
1
3rd July 16:33
External User
Posts: 1
|
working and needs editting.
Rather than manually changing each var - $foo to $_POST['foo'] (there are simply too many) i'd like to do something like this - while(list($key, $val) = each($_POST)) eval("\$.$key = stripslashes($value)"); using a loop to create local variables for each variable in the HTTP Post array. I'm having trouble getting this to work. Anyone help? Cheers, Javier __________________________________________________ _______________ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger |
|
|
|
|
|