print "<INPUT TYPE=\"Submit\" NAME=\"Submit\" Value=\"Update\"></td>";
print "</form>";



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_VALUE'

So try looking for

if ($_POST['Submit']=='Update')
{
}



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



Reply via email to