Got phpdev's apache, php, mysql package installed and using phpdev/www as my root directory where the two documents below are saved. The html document displays as it should when I run it in the internal browser, but the php document displays the text (Your favorite sites are:) but not the variable.
Double checked the code in both documents-- Oh, and had the same problem using another php editor with an internal browser -- and using IE as the external browser. What's going on here?
Also, ran the php "hello" test, which displayed fine.
Thanks,
Gary...
Here's the Html page:
Code: Select all
<html>
<head>
<title></title>
</head>
<body>
<Form Method=Post Action="textarea.php">
What are your favorite websites?
<Textarea Name="Websites" Cols-"50" Rows="5">
http://
http://
http://
http://
</Textarea>
<br>
<br>
<Input Type="Submit">
</Form>
</body>
</html>Here's the php document:
Code: Select all
<html>
<head>
<title></title>
</head>
<body>
Your Favorite Websites are:
<?php
ECHO $Websites;
?>
</body>
</html>Code: Select all
andCode: Select all
tags ][/size]
thanks again!