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 WHERE ticket = 1' This statement does not: $sql = 'UPDATE wo SET status = 1 WHERE ticket = $HTTP_POST_VARS[ticketed]' Any suggestions... If I do "echo "$HTTP_POST_VARS[ticketed]"; It returns a 1
- RE: [PHP] problem transferring a variable u... Davy Campano
- RE: [PHP] problem transferring a varia... Bertrand Moulard
- Re: [PHP] problem transferring a varia... Tom Rogers
- RE: [PHP] problem transferring a varia... Jay Blanchard
- RE: [PHP] problem transferring a varia... Chris W. Parker
- RE: [PHP] problem transferring a v... Bertrand Moulard
- RE: [PHP] problem transferring a varia... Chris W. Parker
- RE: [PHP] problem transferring a v... Bertrand Moulard
- RE: [PHP] problem transferring a varia... Ford, Mike [LSS]
- RE: [PHP] problem transferring a varia... Chris W. Parker
- RE: [PHP] problem transferring a v... Bertrand Moulard