Variables (String combination ?)
Posted: Tue Feb 10, 2004 9:25 am
Hi guys,
I currently have a form that have few text fields in it. After I submit the form, I would like to manipulate the field data..
For example I have
And would like to print the data
Thank you a lot for your time
I currently have a form that have few text fields in it. After I submit the form, I would like to manipulate the field data..
For example I have
Code: Select all
<form>
<input type="text" size=40 name="xxx1" value="1">
<input type="text" size=40 name="xxx2" value="2">
<input type="text" size=40 name="xxx3" value="3">
</form>Code: Select all
for ($i = 1; $i < 4; $i++){
// here I want to know how to call the variables.
// I tried this, but its not working.
// echo ("$" . "xxx". $i);
}