RE: [PHP] Processing Form Data /w $_POST
| From: | Henning Sittler | Date: | Thu, 19 Jun 2003 16:45:25 +0000 |
| Subject: | RE: [PHP] Processing Form Data /w $_POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152180@lists.php.net to get a copy of this message | ||
it's in the manual, read here:
<http://ca.php.net/manual/en/control-structures.foreach.php>
Henning Sittler
www.inscriber.com
-----Original Message-----
From: Kyle Babich [mailto:kyle@runbox.com]
Sent: Thursday, June 19, 2003 12:43 PM
To: php-general@lists.php.net
Subject: [PHP] Processing Form Data /w $_POST
I have a form (setup.php) that passes values to processSetup.php when they
are written into setup.txt. I'm trying to instead of writing every
idividual value into setup.txt from setup.php, write a loop that will take
as many values as there are in the $_POST array and write them all into a
single array in logical order in setup.txt. I'm new to php and can't figure
out how to do this. I'm thinking of something like...
for ($_POST) {
fwrite($setup, /*something to add current $_POST value to the end of an
array within $setup*/);
}
How should I go about this?
Thank you,
--
Kyle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php