Whenever I query a database with php I've always used the following code
as a result.

if ($row = mysql_fetch_array($result)) {
do something } 
else {
do seomthing else }

This method will persuades you to take action on something true first then
false. 

How would I write it so it would assume false then true?

Thanks,

Ed



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

Reply via email to