[PHP] Re: script not stopping

2003-07-07 Thread Paul Chvostek
> "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. On Mon, Jul 07, 2003 at 04:02:21PM -0600, Micah Montoy w

[PHP] Re: script not stopping

2003-07-07 Thread Thomas Seifert
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

[PHP] Re: script not stopping

2003-07-07 Thread Micah Montoy
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 0

[PHP] Re: script not stopping

2003-07-07 Thread Paul Chvostek
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.canadahttp://www.it