Code: Select all
<option name="Member" <?php if($_GET['post']=="Member"){echo "selected='selected'"; } ?> value="Member" > Member </option>
Code: Select all
<option name="Member" <?php if($_GET['post']=="Member"){echo "selected='selected'"; } ?> value="Member" > Member </option>
Still working on the issue above.Lasarian wrote:I am trying to retain the results of the previous selection from the drop down lists on the sort menu. Any help with the code would be appreciated. This is what I have so far ... it's not breaking the page, or kicking out an error, but is also not retaining the previous selection.
Code: Select all
<option name="Member" <?php if($_GET['post']=="Member"){echo "selected='selected'"; } ?> value="Member" > Member </option>