RE: [PHP] *SOLVED* [PHP] problem transferring a variable using POST

2003-11-07 Thread Erik Osterman
ritten this email an hour ago! -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 12:08 PM To: Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] problem transferring a variable using POST Davy Campano <mailto:[EMAIL PROTECTED]> on

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
it does, thanks -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:28 To: Bertrand Moulard; Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] problem transferring a variable using POST Bertrand Moulard <mailto:[EMAIL PROTECTED]> on Th

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Bertrand Moulard on Thursday, October 09, 2003 9:24 AM said: > fair enough, $_POST is an array, but what about $_POST['ticketed'] ? > Just want to make sure about this {} thingie The output of this page is the following: Parse error: parse error, unexpected T_EN

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Ford, Mike [LSS]
On 09 October 2003 16:57, Davy Campano wrote: > I am having a problem with a form. I am trying to have a form pass a > variable so that I can update an item. I think the problem > is that the > variable (ticketed) is being read as text instead of a number. These > are the tests I have run. >

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
: RE: [PHP] problem transferring a variable using POST Bertrand Moulard <mailto:[EMAIL PROTECTED]> on Thursday, October 09, 2003 9:20 AM said: > $_POST['ticketed'] : this is not an array but value isn't it ? Try print_r($_POST); and see what you get. c. -- PHP Genera

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Bertrand Moulard on Thursday, October 09, 2003 9:20 AM said: > $_POST['ticketed'] : this is not an array but value isn't it ? Try print_r($_POST); and see what you get. c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
rker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:08 To: Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] problem transferring a variable using POST Davy Campano <mailto:[EMAIL PROTECTED]> on Thursday, October 09, 2003 8:57 AM said: > This statement works: > $sql = 'UPD

[PHP] *SOLVED* [PHP] problem transferring a variable using POST

2003-10-09 Thread Davy Campano
09, 2003 12:08 PM To: Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] problem transferring a variable using POST Davy Campano <mailto:[EMAIL PROTECTED]> on Thursday, October 09, 2003 8:57 AM said: > This statement works: > $sql = 'UPDATE wo SET status = 1 WHERE tick

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Davy Campano on Thursday, October 09, 2003 8:57 AM said: > This statement works: > $sql = 'UPDATE wo SET status = 1 WHERE ticket = 1' > > This statement does not: > $sql = 'UPDATE wo SET status = 1 WHERE ticket = > $HTTP_POST_VARS[ticketed]' > > Any suggestions...

Re: [PHP] problem transferring a variable using POST

2003-10-09 Thread Tom Rogers
Hi, Friday, October 10, 2003, 1:56:43 AM, you wrote: DC> I am having a problem with a form. I am trying to have a form pass a DC> variable so that I can update an item. I think the problem is that the DC> variable (ticketed) is being read as text instead of a number. These DC> are the tests I h

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
] problem transferring a variable using POST I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This statement works

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Jay Blanchard
[snip] I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This statement works: $sql = 'UPDATE wo SET status

[PHP] problem transferring a variable using POST

2003-10-09 Thread Davy Campano
I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This statement works: $sql = 'UPDATE wo SET status = 1 WH