On Fri, 2003-03-07 at 18:16, [EMAIL PROTECTED] wrote:
> Whenever I query a database with php I've always used the following code
> as a result.
> 
this way:

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
-- 
Mincu Alexandru                 intelinet.ro
Tel:+4 0745 369719              +4 021 3140021
www.intelinet.ro                [EMAIL PROTECTED]



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

Reply via email to