Hello.
I am just starting out in php. First I installed Apache-server in
Windows, everything worked fine. Now in Linux and php-scripts work fine,
except this one. Seems that variables cannot be transported from one
..php file to the other.
In one file I put this:
<FORM ACTION="display.php" METHOD=POST>
<INPUT TYPE="text" name="name">
<INPUT TYPE="text" name="age">
<INPUT TYPE="submit">
</FORM>
</body>
</html>
Then display.php is started when the form is submitted. In display.php:
Hi <?php echo $name?>. You are <?php echo $age?> years old.
but for $name and $age no values are give, the same script in Windows does.
Could anybody explain this to me ?
Thanks in advance.Edward