this is maybe a beginners question, that's because im a newbie to PHP-MySQL

i want to run UPDATE sql command and this is the sample code.

if (!mysql_query ($sql))
echo("Invalid query<br><br>".$sql);

and i know that my $sql is correct because i tried to paste it to my
PHPmyadmin and it works.
how come i can't update?


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to