Reply to Re: Multiple sql query results

Your name:

Reply:


Posted by David Haynes on 02/23/06 17:35

Mikey P wrote:
> 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
>
http://www.php.net/manual/en/function.mysqli-num-rows.php

-david-

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация