try that

if (!isset($_POST["imgList"]) || empty($_POST["imgList"])){

for the comparison.


Thomas


On Mon, 7 Jul 2003 16:02:21 -0600 [EMAIL PROTECTED] (Micah Montoy) wrote:

> How do I specify it that I just want to check to see if the form field was
> blank and if so, inform the user?  I know I could do this with JavaScript
> but I need to be able to do correct conditions.
> 
> thanks
> 
> 
> 
> "Paul Chvostek" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > On Mon, Jul 07, 2003 at 03:28:27PM -0600, Micah Montoy wrote:
> > >
> > > if ($_POST["imgList"] = ""){
> >
> > You're *assigning* a variable in this condition.
> >
> > -- 
> >   Paul Chvostek                                             <[EMAIL PROTECTED]>
> >   it.canada                                            http://www.it.ca/
> >   Free PHP web hosting!                            http://www.it.ca/web/
> >
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to