Hi there..I have a question for anyone that can help me. I'm practicing my PHP coding out of the "Beginning PHP4" book by Wrox, and I ran into a problem. Here is the first example:
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD=POST ACTION=”textarea.php”>
What are your favorite web sites?
<TEXTAREA NAME=”WebSites” COLS=”50” ROWS=”5”>
[url]http://[/url]
[url]http://[/url]
[url]http://[/url]
[url]http://[/url]
</TEXTAREA>
<BR>
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>
So, here is the PHP portion of the example:
<HTML>
<HEAD></HEAD>
<BODY>
Your favorite web sites are:
<?php
echo $WebSites;
?>
</BODY>
</HTML>
Okay, I ran the program and everything was working great, but the PHP portion of the program wasn’t showing the results of the query. I checked the correct spelling of the variables in the HTML and PHP portions and they were identical to each other. I can’t seem to figure what I’m doing wrong. It’s a little thing, but I’ve been over it about ten times. Help me (when you can find the time for me). Thanks.
🙂