I'm doing some tutorials with the book: PHP by example. The following
program should according to the book, generates a personalized
greeting for a visitor, but it doesn't. Any ideas why? Here's the
code, in two seperate files:
FIRST FILE (TEST1.PHP):
<html>
<head><title>We lcome!</title></head>
<body>
<form action="ch03ex1 1.php">
What's your name? <input type="text" name="userName" >
<input type="submit" value="Continue ">
</form>
</body>
</html>
SECOND FILE (CH02EX11.PHP):
<html>
<head><title>We lcome!<title></head>
<body>
<h4>
Welcome, <?= $HTTP_get_VARS['name'] ?>!
</h4>
</body>
</html>
program should according to the book, generates a personalized
greeting for a visitor, but it doesn't. Any ideas why? Here's the
code, in two seperate files:
FIRST FILE (TEST1.PHP):
<html>
<head><title>We lcome!</title></head>
<body>
<form action="ch03ex1 1.php">
What's your name? <input type="text" name="userName" >
<input type="submit" value="Continue ">
</form>
</body>
</html>
SECOND FILE (CH02EX11.PHP):
<html>
<head><title>We lcome!<title></head>
<body>
<h4>
Welcome, <?= $HTTP_get_VARS['name'] ?>!
</h4>
</body>
</html>
Comment