Posted by Jerim79 on 11/07/06 17:24
I am setting up a web form that will take data and pass it along to a
PHP script. I am noticing that the PHP doesn't get the information from
the HTML, or at least isn't displaying it. I set up a basic "test"
HTML/PHP combo. Here is what I have for the HTML:
<html>
<head>
</head>
<body>
<form method=post action="test.php">
<INPUT NAME="Author" TYPE="text">
<input type=Submit >
</form>
</body>
</html>
Here is what I have for the PHP:
<html>
<head>
</head>
<body>
<?php
echo $Author;
?>
</body>
</html>
I have verified that PHP is installed on the server using phpinfo(). I
tried both the POST and GET methods. The PHP just comes up blank (If I
type in HTML text, it displays, so I know test.php is being called). I
even tried removing all HTML tags from test.php. I have tried uploading
the the same pages to two different servers. Any help will be greatly
appreciated.
Navigation:
[Reply to this message]
|