Re: [PHP] Making variables with an iteration? STILL

2004-12-06 Thread Richard Davey
Hello Robert, Monday, December 6, 2004, 3:55:21 PM, you wrote: RS snip RS ?php RS for ($i=1; $i10; $i++) RS { RS if (isset ($_POST['choice'.$i])) RS { RSfor ($j=1; $j5; $j++) RS{ RS $tempChoice = choice . $j; RS $$tempChoice = $_POST['choice'.$i]; RS} RS } RS } RS

RE: [PHP] Making variables with an iteration? STILL

2004-12-06 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 06 December 2004 15:55, Robert Sossomon wrote: Here's the full code and the driving page: http://rsossam-lap.ces.ncsu.edu/leadership/test.html snip ?php for ($i=1;

Re: [PHP] Making variables with an iteration? STILL

2004-12-06 Thread Thomas Munz
I think you can use the export() function for that.. Here's the full code and the driving page: http://rsossam-lap.ces.ncsu.edu/leadership/test.html snip ?php for ($i=1; $i10; $i++) { if (isset ($_POST['choice'.$i])) { for ($j=1; $j5; $j++) { $tempChoice = choice . $j;

Re: [PHP] Making variables with an iteration? STILL

2004-12-06 Thread Richard Lynch
Thomas Munz wrote: I think you can use the export() function for that.. He probably means http://php.net/extract but that defeats the purpose of turning register_globals OFF and is BAD SECURITY. Here's the full code and the driving page: http://rsossam-lap.ces.ncsu.edu/leadership/test.html