Thanks all in advance.
Why does this simple code not work?
if( isset( $hi ) )
{
echo "<html><body>";
echo "ok";
echo "</body></html>";
}
else
{
echo "<html><body>";
echo " <form method=\"post\" action=\"$PHP_SELF?hi=man\">\n";
echo "<input type=\"text\" name=\"typehere\" value=\"what\" size=\"20\" maxlength=\"20\"></td>\n";
echo " <input type=\"submit\" value=\" test \">\n";
echo " </form>\n";
echo "</body></html>";
}
$hi is NEVER set, and $typehere is never set as well
code looks simple enough, im thinking could it be my server??
please help
thanks again!