Form-problems
Posted: Mon May 05, 2003 6:43 am
Why isn't this working?! Is there a problem in my PHP-configuration?!
The name of this document is testar.php
<html>
<head>
<title>Testing</title>
</head>
<body>
<?
echo $var;
?>
<form action="testar.php" method="post">
<input type="text" name="var">
<input type="submit" value="Shoot">
</form>
</body>
</html>
It's like it doesn't send the variable "$var" to the page. I've tried to send it to another page but it doesn't work there either!
The name of this document is testar.php
<html>
<head>
<title>Testing</title>
</head>
<body>
<?
echo $var;
?>
<form action="testar.php" method="post">
<input type="text" name="var">
<input type="submit" value="Shoot">
</form>
</body>
</html>
It's like it doesn't send the variable "$var" to the page. I've tried to send it to another page but it doesn't work there either!