September 11th, 2000, 05:29 AM
I create a pretty large form whith php and name the input boxe's "v_1_1" , "v_1_2" etc.
I know how many i create but how do i get the information that the user put into the box?
Is there any function like this:
get_form("v_" . $counter1 . "_" . $counter2);
Can i get the info from a form without knowing the form name?
[This message has been edited by digjen (edited September 11, 2000).]
September 12th, 2000, 01:14 AM
Look at Variable Variables in the PHP manual. I think it might help you...
September 13th, 2000, 12:19 AM
Look up the eval() function while you're at it. It can help with this problem.
Originally Posted by SepodatiCreations
You can use something like below to get a variable
eval ($new_Var = $v_$counter1_$counter2;");