You are here: Re: Testing if two fields have data in them « PHP Programming Language « IT news, forums, messages
Re: Testing if two fields have data in them

Posted by Martie on 11/19/04 11:45

On Thu, 20 Apr 2006 09:51:33 +0100, Geoff Berrow wrote...
>
>Message-ID: <FTH1g.36888$zf1.12352@newsfe5-gui.ntli.net> from Ian Davies
>contained the following:
>
>>The first option the user browses for their file and it is submitted via
>>type=file
>
>Ah...
>
>if(!empty($_POST['Link']) && !empty($_FILES['uploadedfile'])){
>...


I'll have to remember the "empty()" function, checks for blanks and null! It's a
little cleaner than what I normally use.

Martie


--
NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth

 

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

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