I wrote a very simple program that will says that my variables are undefined and will not display them. I'm writing a more complex program, but I thought the error may be in my code, in some hidden place. It doesn't get any more simpler than this:
html file:
<head>
</head>
<body>
<form method = "post" action = "test.php">
<input type = "text" name = "mytext">
<input type = "submit" name = "submit" value = "submit">
</form>
</body>
php file - test.php:
<?php
echo $mytext;
?>
output:
Warning: Undefined variable: mytext in c:\website\clients\test.php on line 2
It can't use my variables. I tried to put them into an MYSQL database, but it just won't work. HELP PLEASE!!!!