Evan Nemerson <[EMAIL PROTECTED]> wrote: > I kinda skimmed, but I think what you want is > > foreach ( array_keys($SAVEVARS) as $key ) > $query = "update table set $key=$SAVEVARS[$key];"; >
should be: $query = "update table set $key='{$SAVEVARS[$key]}';"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php