Okay, here's what I have:
A PHP file which retrieves field names from a DB and puts it into a SELECT form.
eg (not actual code):
<select name=$row["selectname"]>
<option value=$row["uid"]>$row["name"]
<option>....
</select>
This is then POSTed to another PHP file. My problem is that the selectname will be contained in $row["selectname"] but I want to access the $(selectname) variable which was POSTed to the other PHP file. So a the variable name is contained within the $row["selectname"] variable. So a variable within a variable. Damn I'm confused. Anyone care to shed some light on this? Sorry if I'm not being clear enough.
Thanks