Re: [PHP] update query not working

2003-02-23 Thread Jason Wong
On Monday 24 February 2003 06:56, Peter Gumbrell wrote: > I wonder if anyone can see why the following code is not working. this is > taken from a larger functions, the rest of which seems to be working well: > > print ""; > print ""; > > print ""; > print ""; > if ($_POST['Update']) [snip] print

Re: [PHP] update query not working

2003-02-23 Thread Chris Hayes
print ""; print ""; if ($_POST['Update']) { print "updated!!"; } I do not see the statement "updated!!!" printed, but I cannot see anything wrong with my syntax. Any help would be appreciated. You are looking for a value, where the array is of the form $_POST['form_element_NAME'='form_element

[PHP] update query not working

2003-02-23 Thread Peter Gumbrell
I wonder if anyone can see why the following code is not working. this is taken from a larger functions, the rest of which seems to be working well: print ""; print ""; print ""; print ""; if ($_POST['Update']) { print "updated!!"; $rank = $HTTP_POST_VARS['rank']; $title_new = $HTTP_POST_VARS['ti