Variable Question
Posted: Sat Dec 17, 2011 5:25 am
Hi,
I am processing the input from a web form:
Variables are named as follows:
data1
data2
data3
I am using a loop to process the data.
$_POST[data.$y]
I don't think this is quite right though - how do I use the value of a variable in a variable name.
Thanks,
I am processing the input from a web form:
Variables are named as follows:
data1
data2
data3
I am using a loop to process the data.
$_POST[data.$y]
I don't think this is quite right though - how do I use the value of a variable in a variable name.
Thanks,