How do i do a submit?
This is what i had (with register_globals off it doesn't work):
if ($submit)
{
// The below i know.
$var = $HTTP_POST_VARS['var'];
}
else
{
echo "<form action='$PHP_SELF' method=post>";
echo "<input type=submit name=submit value='Do the thing'>";
// simplified, don't want to post 16 lines of a table
}
when i run it, it doesn't work.