Forum Moderators: coopster
I've spent 2 days looking at 3 lines of code being unable to find what I'm doing wrong. I'm sure for you guys and girls this will be a quiz to solve while watching your fav movie.
2 files.
index.html with the following code
<body>
<form method="POST" action="status.php">
<input id="topic" type="text">
<input id="submit" type="submit" value="Send this">;
</form>
</body>
</html>
------------------------------------------
status.php with the following code
<body>
<?php
print $_POST['topic'];
?>
</body>
</html>
------------------------------------------
I get the message
Notice: Undefined index: topic in F:#*$!/#*$!x/xxx
What am I doing wrong?
Please please please help. Spending 2 whole days for such an elementary procedure can be so frustrating
Thanks in advance for your help
P.S. Should I take any special steps cause I'm using Apache 2 on WinXP and PHP 4 on winXP as well?