You are here: Re: help with posting conditional if statement « PHP Programming Language « IT news, forums, messages
Re: help with posting conditional if statement

Posted by Jon Slaughter on 05/04/07 15:50

"Simon Stewart" <address@www.simonstewart.ie> wrote in message
news:5a11isF2mnbg8U1@mid.individual.net...
> Art
>
> Try something like this.
>
> $holdchk= (strlen ($_POST['B1'])>0 and strlen($_POST['app_fname'])==0);
> $action= ($holdchk)? "some.php": "other.php";
> echo "<form method='POST' action='$action'>";
>
> avoid isset and empty
>

And why is that?

 

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

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