--- Mike Morton <[EMAIL PROTECTED]> wrote: > Forach($SAVEVARS as $whatever) { > $query="update table set $whatever=$whatever[$whatever]"; > }
Use braces: $query = "update table set $whatever = '{$whatever[$whatever]}'"; Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php