I made this php
but I can't get it to work properly. When I type a name or a word I get the Error 404
.
"Edit": Thanks i dont get the error 404 anymore but it still dont work when i type in a name. The text i type in and when i press enter it get erased and back to start. Anyone know if i missed something and how to fix it?
Code:
<?
if(!isset($_REQUEST["name"])&&(!empty($_REQUEST["name"])))
{
echo "Hello".$_REQUEST["name"];
}else
echo "You have to type something!";
?>
<hr/>
<form method="post" action="<?=$_PHP_SELF?>">
<input type="text" name="name"/>
</form>