Hi,
I have been trying to get a select menu to work for hours, and everything is working fine but for one little bit, everytime I select from the jump menu and load the same page again, the menu displays the first result that comes from the database instead of the user selection from the drop down.
Is there a way to get the selected option to display (using the code below)? The main portfolio.php page holds the url, and the following code is in an included file called dropdown.php
<select onChange="MM_jumpMenu('parent',this,0)" name="dropdown" id="dropdown">
<?php
while ($result = $query ->fetch_object()) {
$dbid=$result->id;
$portfolioname= $result->name;
?>
<option value="portfolios.php?pselect=<?php echo $portfolioname; ?>&albumid=<?php echo $dbid; ?>"><?php echo $portfolioname; ?></option><?php
}
?></select></span>
Any suggestions are much appereciated, and please let me know if you need further detail.
Thanks