You are here: Re: PHP help with if else « All PHP « IT news, forums, messages
Re: PHP help with if else

Posted by Steve on 08/27/07 16:55

>
> You didn't show us your SELECT statement, but if it doesn't return any
> rows, your mysql_fetch_array() call will return false - and not execute
> anything in the loop.
>
>

You're right, I didnt think of the array returning false.

So how would i check for a value in the array, if the array returns false? Or
how would I check for ANY results?

 

Navigation:

[Reply to this 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

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