Posted by Mikey P on 02/23/06 16:53
Hi all, I'm trying to do a query from 2 databases. Basically i have
catagories within 2 databases. If both catagories return 0 rows then it
does nothing but if one or both have rows returned then i need it to
echo a result. I guess where i'm wondering if there's an OR statement i
can use or something to that effect...
something like
if($numrows == 0 OR $numrows2 == 0) {
echo ('');
}else{
echo ('$result');
any help or direction would be greatly appreciated. Thanks so much
Mike
[Back to original message]
|