TIP parsing form row data into variables

From: Date: Sun, 22 Jun 2003 09:02:45 +0000
Subject: TIP parsing form row data into variables
Groups: php.general 
Request: Send a blank email to php-general+get-152435@lists.php.net to get a copy of this message
Hi all, This might be well known, so apologies if I'm going over old ground - I've not seen this explained this way. Last year I did a site using the variable variables method to parse row data. Now that I've moved to globals=off, I couldn't get that to work so I tried a few other options settling for the following: ('howmany' is the number of form rows on the previous page) $howmany = $_REQUEST['howmany']; for ($index = 1; $index < $howmany; $index++){ $e_id = 'e_id'.$index; $e_id = $_REQUEST[$e_id]; Then do something with it. Hope this helps someone. George in Oxford

« previous php.general (#152435) next »