> try writing it like
> $sql = "UPDATE round1
>         SET game1='" . $game1 . "',
>             game2='" . $game2 . "',
>             game3='" . $game3 . "',
>             game4='" . $game4 . "',
>             game5='" . $game2 . "',
>             game6='" . $game6 . "',
>             game7='" . $game7 . "',
>             game8='" . $game8 . "',
>             misc='y'
>         WHERE username = '" . $sidarray[0] . "'";
> 
> matt



Single quotes around variables within a double quoted statement works.

John

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to