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.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to