Re: script not stopping
| From: | Micah Montoy | Date: | Mon, 07 Jul 2003 22:02:21 +0000 |
| Subject: | Re: script not stopping | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154258@lists.php.net to get a copy of this message | ||
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" <paul+php@it.ca> wrote in message
news:20030707213050.GA54434@mail.it.ca...
> 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 <paul@it.ca>
> it.canada
> http://www.it.ca/
> Free PHP web hosting!
> http://www.it.ca/web/
>