Re: [PHP] if statment

2003-03-31 Thread Leif K-Brooks
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 1

Re: [PHP] if statment

2003-03-31 Thread Don Read
On 31-Mar-2003 Tim Haskins wrote: > My bad, I actually meant that the "nothing" was like, if the pr_ID in the > url is empty then show the following text. > if (empty($HTTP_GET_VARS["pr_ID"])) Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest b

Re: [PHP] if statment

2003-03-31 Thread Chris Shiflett
--- Tim Haskins <[EMAIL PROTECTED]> wrote: > Now when I change the == to <> I receive the following error: > > Notice: Undefined index: id in c:\inetpub\wwwroot\_\users.php on line 103 > > Why would that not work - In asp it does, but I can't get it workin in php. Are you kidding? You do realize

RE: [PHP] if statment

2003-03-31 Thread Jennifer Goodie
- From: Tim Haskins [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 12:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] if statment below is what I have currently its empty Now when I change the == to <> I receive the following error: Notice: Undefined index: id in c:\inetpub\wwwro

Re: [PHP] if statment

2003-03-31 Thread Tim Haskins
o 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

RE: [PHP] if statment

2003-03-31 Thread Jennifer Goodie
, 2003 12:17 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] if statment Also, take a look at isset() and empty() http://php.net/empty http://php.net/isset Jennifer Goodie wrote: > so change it to "" > > -Original Message- > From: Tim Haskins [mailto:[EMAIL PROTECTED]

Re: [PHP] if statment

2003-03-31 Thread Pete James
Also, take a look at isset() and empty() http://php.net/empty http://php.net/isset Jennifer Goodie wrote: 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

Re: [PHP] if statment

2003-03-31 Thread Tim Haskins
; > > -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 i

RE: [PHP] if statment

2003-03-31 Thread Jennifer Goodie
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 the

Re: [PHP] if statment

2003-03-31 Thread Tim Haskins
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"; > } > ht

RE: [PHP] if statment

2003-03-31 Thread Jennifer Goodie
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]