You are here: Re: Help with if... else - please « PHP Language « IT news, forums, messages
Re: Help with if... else - please

Posted by macca on 09/01/07 22:15

if (empty($band[date])) {
echo "No shows on the calendar.";

}


Have you checked the values in your database? are the "date" fields
being set to NULL or nothing if there is no date entered? or have you
set a NOT NULL DEFAULT value such as '0000-00-00' for fields where no
date is specified?

 

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

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