On a form i have a couple form text field inputs that are named as follows and are dynamically created on the fly
group_22
group_1
group_54
center_77
center_44
Before the underscore is what type of meeting it is and after is the id number for it. On the left hand side of each text input field is a radio button. So whichever radio button is selected that respective text field is the one that gets updated.
In my script i know by other means that i need a group over a center or vice versa and i know what the id number will be. But i need to find some what to recall the value of that text field and i dont know how to recall the name of the variable.
For exampl in my script i know
id=54
type = group
So i want to retreive the value of the text field
$type_$id
To clarify $goup_54
But that doesnt work. do i need to escape $type_$id to get $group_54 wich is the name of the text field im trying to retrieve and it should have the value stored for whatever was entered their.
Thanks in advanced.