RE: [PHP-DB] Php if statement in a form (solved)

2004-08-05 Thread Justin.Baiocchi
[mailto:[EMAIL PROTECTED] Sent: Friday, 6 August 2004 12:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Php if statement in a form what about this? if(empty($row["timeout"])) - Original Message - From: "Doug Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Ng Hwee Hwee
try this?? if($row['timeout']=="") { echo ""; }else{ print $row["timeout"]; } - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 06, 2004 10:50 AM Subject: RE: [PHP-DB] Php if s

RE: [PHP-DB] Php if statement in a form

2004-08-05 Thread Justin.Baiocchi
Sent: Friday, 6 August 2004 12:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Php if statement in a form what about this? if(empty($row["timeout"])) - Original Message - From: "Doug Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EM

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Ng Hwee Hwee
what about this? if(empty($row["timeout"])) - Original Message - From: "Doug Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, August 06, 2004 10:18 AM Subject: Re: [PHP-DB] Php if statement i

RE: [PHP-DB] Php if statement in a form

2004-08-05 Thread David Robley
On Fri, 6 Aug 2004 11:04, Justin Baiocchi wrote: > Still no joy. The parse error actually refers to the -- if > ($row["timeout"] IS NULL); --- line. Please trim your replies. IS NULL is for mysl - try if ($row["timeout"]=== NULL) -- David Robley Heads I win, tails you lose. -- PHP Database

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Doug Thompson
L PROTECTED] Subject: Re: [PHP-DB] Php if statement in a form Sorry. Forgot to remove the word echo from that line. On Thu, 5 Aug 2004 21:29:01 -0400, Eric Schwartz <[EMAIL PROTECTED]> wrote: On Fri, 6 Aug 2004 10:21:19 +1000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks Eric, I

RE: [PHP-DB] Php if statement in a form

2004-08-05 Thread Justin.Baiocchi
Still no joy. The parse error actually refers to the -- if ($row["timeout"] IS NULL); --- line. -Original Message- From: Eric Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, 6 August 2004 11:32 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Php if statement in a form Sorr

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Eric Schwartz
name"]; > > print ""; > > print $row["location"]; > > print ""; > > print $row["timein"]; > > print ""; > > if ($row["timeout"] IS NULL); > > { > > print ; &g

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Eric Schwartz
print ; > } else { > print $row["timeout"]; > } > print "\n"; > } > print "\n"; > > > > > > > -Original Message- > From: Eric Schwartz [mailto:[EMAIL PROTECTED] > Sent: Friday, 6 August 20

RE: [PHP-DB] Php if statement in a form

2004-08-05 Thread Justin.Baiocchi
""; if ($row["timeout"] IS NULL); { print ; } else { print $row["timeout"]; } print "\n"; } print "\n"; -Original Message- From: Eric Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, 6 August 200

Re: [PHP-DB] Php if statement in a form

2004-08-05 Thread Eric Schwartz
On Fri, 6 Aug 2004 08:53:53 +1000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, I wonder if someone could point me in the right direction here. > > I have a table that is displayed that is also a form, and allowed a > person to select a record to update using a radio button. With one of >