--- Sunfire <[EMAIL PROTECTED]> wrote: > how would you use an if..else statement to test a > query in mysql to see if it was successfull or not?
Depends on what database server you are using. Here it is
in MySQL:
if (mysql_query($sql))
{
echo "Success";
}
else
{
echo "Failure";
}
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

