
tbone587
User
Mar 13, 2012, 3:47 PM
Post #1 of 3
(537 views)
|
|
Creating dynamic arrays.
|
Can't Post
|
|
If I have an undetermined amount of parameters being passed via cgi how would I dynamically look through the array of parameters and assign a variable like "value_1", "value_2", etc. I tried doing $Value_$Counter but it doesnt work... I am looking for the end result below: If I enter 3 values via cgi, i need variables as follow $Value_1 = param('Value_1'); $Value_2 = param('Value_2'); $Value_3 = param('Value_3');
|