Hi list,

Basically I want to be able to do an SQL query and if the query returns no
results I want my script to say Ok your query rerurned 0 results print this
message... "Sorry your seach returned no messages".

What is my best way of going about this? Would it work similar to this...

Do search ....

if (!$sql_search) {
        print "Sorry your result returned no matches"';
else {
print "here are the results";
 $sql_search;
        }
}

Any suggestions will help imensly,

Regards,

df

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to