Hi All;
I have a quick question that I was wondering if someone could answer.
I have a form that sends back all the fields in a table to another php module using a loop that assignes the current table name to the name tag in a form
e.g. <td><input type=text name=current_name_returned_by_loop></td>.
On the new php module which is called by this form, if I then hardcode the dollar sign before the field name i.e. if I type $id, I get the correct value i.e. the value of id, but if I concatenate the $ in i.e $new_id ="'$"."id"."'", then when I run it, I do not get the value of $id, but rather '$id' as a string.
Is there any way aorund this type of behaviour?? I really dont want to be forced to hardcode every filed name in my php module with a $ in order to retrieve the values. A for loop concatenating the $ sign to the field names would be a much easier way to retrieve the values.
Thanking you all in advance.
Uriel