So I'm just learning php and am following tuts, probably old ones?, and some of the code they use just ain't woking for me. My phpinfo() page shows that I am using 5.2.2 on OSX.
Here is the form page:
<html xml:lang="en" lang="en">
<head>
<title>Untitled</title>
</head>
<body>
<form action="color.php" method="post">
<br>
What color is your car?
<input name="carcol" type=text>
<br>
Submit your info.
<input type=submit value="submit">
</form>
</body>
</html>
And here is color.php:
<html xml:lang="en" lang="en">
<head>
<title>Untitled</title>
</head>
<body>
Allo
<br>
<?php
echo $carcol;
?>
</body>
</html>
I get to color.php just fine, but the browser only displays "Allo" and doesn't echo the color input from the referring page.
A punt in the right direction would sure be appreciated.
jojo