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 the

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

2004-08-05 Thread Justin.Baiocchi
/form -Original Message- From: Eric Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, 6 August 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Php if statement in a form On Fri, 6 Aug 2004 08:53:53 +1000, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I wonder if someone

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

2004-08-05 Thread Eric Schwartz
; } print /table\n; input type=submit name=submit2 value=Select your name and click here to record your timeout/form -Original Message- From: Eric Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, 6 August 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Php

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

2004-08-05 Thread Eric Schwartz
-Original Message- From: Eric Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, 6 August 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Php if statement in a form On Fri, 6 Aug 2004 08:53:53 +1000, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I wonder if someone

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 Sorry. Forgot

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

2004-08-05 Thread Doug Thompson
] Sent: Friday, 6 August 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Php if statement in a form 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

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 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 in a form if (is_null($row[timeout]).) [EMAIL

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

2004-08-05 Thread Justin.Baiocchi
:[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 PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday

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

2004-08-05 Thread Ng Hwee Hwee
: Ng Hwee Hwee [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 PROTECTED

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

2004-08-05 Thread Justin.Baiocchi
] Subject: RE: [PHP-DB] Php if statement in a form Well, this works: so you were all on the right track if($row['timeout']==) { print input name='timeout' type='text' value='echo date('H:i')'; }else{ print $row[timeout]; } But now I get a parse error on the input line