Re: update query not working
| From: | Jason Wong | Date: | Sun, 23 Feb 2003 23:02:15 +0000 |
| Subject: | Re: update query not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136773@lists.php.net to get a copy of this message | ||
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 "<INPUT TYPE=\"Submit\" NAME=\"Submit\"
> Value=\"Update\"></td>";
> print "<td></td><td></td></tr>";
>
> print "</table>";
> print "</form>";
> if ($_POST['Update'])
[snip]
print_r($_POST) to see what it contains. It probably contains an entry named
'Submit' as that is what you have named your submit button.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Trying to be happy is like trying to build a machine for which the only
specification is that it should run noiselessly.
*/