Wow, that's weird- I had just tried it and that didn't work, so I thought it
might be some special php thing goin on- thanks for your help!

--
Tim Haskins



"Jennifer Goodie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> so change it to ""
>
> -----Original Message-----
> From: Tim Haskins [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 12:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] if statment
>
>
> My bad, I actually meant that the "nothing" was like, if the pr_ID in the
> url is empty then show the following text.
>
> --
> Tim Haskins
>
> "Jennifer Goodie" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > if( $HTTP_GET_VARS["pr_ID"] == "nothing"){
> > echo "there are no products";
> > }
> > http://www.php.net/manual/en/control-structures.php
> >
> > http://www.php.net/manual/en/
> >
> > -----Original Message-----
> > From: Tim Haskins [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 31, 2003 11:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] if statment
> >
> >
> > I'm used to asp and not php, but what would the code be for and if
> statement
> > that was like:
> >
> >  if $HTTP_GET_VARS["pr_ID"] = "nothing" then
> > "there are no products"
> > end if
> >
> > Also does anyone know a great resource that lists different examples of
> php
> > variables, if statements, and so on?
> >
> > Thanks so much!
> > --
> > Tim Haskins
> >
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



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

Reply via email to