Jump to content

Sticky Drop-dwon Inside Loop


son

Recommended Posts

I am looping through various items to display them all in table rows. For each of those I have a drop down to select an option for a finish. I wanted to make those sticky when the form has been submitted with:if((isset($_POST['ageing'])) && ($_POST['ageing'] == $ageing_id)){ echo ' selected="selected" '; }but found that this will set them all to the same value. Each one is independent from each other. How do you make those drop-downs individually sticky?Son

Link to comment
Share on other sites

No, that's not a good idea. It will only submit one value with that name. You can either create an array of them, or just give each a different name.
Will try it with different names then...Many thanks,Son
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...