PHP: Retaining drop down fields in new page

Squariaduak

New Member
I have 1 page that displays a form with various dropdowns that are being populated dynamically. Snippit\[code\] <td valign="top"> <select name="status"> <option></option> <?php foreach($statuslst as $status){ echo '<option value='http://stackoverflow.com/questions/3882505/. $status[0] .'>' . $status[1] . '</option>'; } ?> </select> </td>\[/code\]I have a 2nd page that also displays this form but also the results from the form. the first form is posting to the 2nd and the 2nd is posting to itself. I want the items chosen in the first form to be selected when posted to the second form.Can someone steer me in the right direction here?Thanks,Jonesy
 
Back
Top