Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:
Write your message below:
I am using php 5 on an Apache server on Linux remote, and Windows XP local machine. I am new to PHP...please bear with me.
I created a simple form to practice sending data from an HTML form to a php page to handle the data, sent via post. The page that is handling the posted data is not receiving it for reasons I do not understand. Here's the form:
<form action="HandleList.php" method="post">
<input type="text" name="list" size="80" /><br />
<input type="submit" value="Submit!" name="submit" />
</form>
And here's the code on the page "HandleList.php:
<?php
echo ("The data was transmitted: $List");
?>
Every time I run the form the HandList.php shows and error:
"Notice: Undefined variable: List in C:\htdocs\phpdw\HandleList.php on line 12
The variable was transmitted:"
Line 12 is contains the above text and should be showing the $List variable after the word "transmitted:"...but is not getting this value from the form via the post method.
What am I doing wrong? I really do not understand why this isn't working. It doesn't work locally or when testes on the remote server. Any help would be greatly appreciated. I am new at this...and now I am lost.
