I asked a question yesterday about this but I think my question is now more fine tuned: Right now I have about 50+ session variables that will be inserted into my mysql database in a transaction. I need to do the mysql_real_escape_string and because magic_quotes_gpc is turned on stripslashes as well. I'm wondering if there is a way to use a function or class within my connection script to take care of all of this ? As oppposed to listing everyone out ? I know I can pass all the variables as an array but some of the variabls are arrays themselves, so not sure how that would work. Any suggestions ? Thank you Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php