note 20473 deleted from language.variables.external by philip

From: Date: Mon, 08 Jul 2002 17:45:10 +0000
Subject: note 20473 deleted from language.variables.external by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-32744@lists.php.net to get a copy of this message
When retrieving data from a form textarea, neither POST nor GET seem to work with PHP to store the data in the globals $_POST, $_GET, $HTTP_POST_VARS, or $HTTP_GET_VARS. Instead I had the textarea name setup as a global itself by PHP and it seemed to work fine from there. Example: -html portion- <form action="some.php" method="POST"> <textarea name="sample"></textarea> </form> -PHP portion- echo "sample:", $_POST['sample']; // displays nothing echo "sample: $sample"; // displays the text area data as a single string

« previous php.notes (#32744) next »