This simple code does not work on my server. I pulled it directly from "Beginning PHP 4". The server is set up with php 4.2.2. Can anyone tell me why it does echo anything typed into the textarea?
<FORM METHOD=POST ACTION="textarea.php">
What is your favorite website?
<TEXTAREA NAME="WebSites" COLS="50" ROWS="5">
Your favorite web sites are:
Thanks.... Do I have to use $_POST or $_GET any time I want to pass a variable from page to page or script to script?
If you are going to pass the variable through the url then you should use $_GET