Hi,
This is a quit long story but I'll try to make i short :-)
Here goes,
I used to code ASP, and when i made i form with input fields with the same name, fx.:
<input name=id value=1>
<input name=id value=2>
when this got posted to the next page it would automaticly make the variable id=1,2 so i could split it or put i directly in my database with a insert into.........where id in ($id)......
but when i do the same i PHP it takes the last one in the form, so the post would only be 2 in this example......hmmmmm, I think.....
but okay, i have to move on so i would make my input's like this.....
<input name=id_1 value=1>
<input name=id_2 value=2>
that way i wanted to make a new variable with post....but it doesn't seem to work for me.....
i have this job where there can be unlimited questions..........and unlimited answers for each question.....so i coded som stuff that makes x times of input boxes for answers.......hope you still follow me.....
what i need to know is how to make dynamic variables......to make a new variable with this coding i have done.....i been reading something with double $ ($$) but i couldn't make that work either........please help me soon...
Lars