You are here: Re: Testing for emtpy result. « PHP Programming Language « IT news, forums, messages
Re: Testing for emtpy result.

Posted by Matt on 06/06/07 18:25

On Jun 6, 7:12 pm, Rik <luiheidsgoe...@hotmail.com> wrote:

> Normally, when adding something requires several steps, one could also add
> a 'publish' boolean field, which is checked on displaying
> lists/navigation/articles etc. Set to 0 for the duration, set to 1 if
> finished, don't display anything that has 0 as a publish value.
>
> --
> Rik Wasmus

This sounds like the simplest solution (ashamed it didn't occur to
me), especially since I already have a 'type' field I could adapt for
this purpose. Thank you.

(for the record, yeah, a review = article. Should have been more
clear, apologies)

 

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

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