Hi thanks for helping (if you can)
I have OSX on a mac and testing .php on the server that comes with it. I don't know much about php and have a book to help me out at the moment. I'm used to html and have no problems there, it's just the php stuff that's got me stumped.
Here is the problem...
I am doing a test via this:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<form action="subform.php" method="post">
<input type="text" name="Name"><br>
<input type="text" name="Email"><br>
<input type="text" name="Location"><br>
<input type="submit" name="subscribe" value="Subscribe">
<input type="reset" name="reset" value="Reset">
</form>
</body>
</html>
And this is the .php page:
<html>
<head>
<title>PHP Test | subform.php</title>
<body>
<?php
print "Action = Please put me on the kianoush.com mailing list<br>\n";
print "Name = $Name<br>\n";
print "Email = $Email<br>\n";
print "Location = $Location<br>\n";
?>
</body>
</html>
Is there anything wrong with any of this? the output I'm getting isn't what it should be, all I'm getting is:
Action = Please put me on the kianoush.com mailing list
Name =
Email =
Location =
and nothing else
What am I doing wrong?!?!
Cheers in advance guys
Kia.