I'm trying to do something like what Netflix does to reorder your DVD queue. It will be used in the admin page in my photo album, where different albums contain different number of pictures.
I would display a text input box with the current value of the picture's order number and the thumb picture, loop it as many times as many picture I have and close it with a submit button.
My problem is I can do it with one variable, but I'm not sure how to loop it. I need to use either $pic1 $pic2 $pic3 $pic4 or $pic[1] $pic[2] $pic[3] $pic[4].
How do I send these variables using HTML forms and making up the full name of the variable in a loop on the fly?
Thanks.