jumpmenu -
11-09-2005
, 08:38 AM
Hi,
I have a jump menu being populated dynamicly with a * query and the code
below is what i use on the jumpmenu.
<select name="menu1" onchange="MM_jumpMenu('parent',this,0)">
<?php
do {
?>
<option value="phonedetails.php?Id=<?php echo
$row_Recordset1['Id']?>"><?php echo $row_Recordset1['model']?></option>
<?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
$rows = mysql_num_rows($Recordset1);
if($rows > 0) {
mysql_data_seek($Recordset1, 0);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
}
?>
</select>
</form>
this works fine and goes to phonedetails.php and displays that models details.
im trying to get this to happen all on the same page and the jump menu to
show the current phone model thats on the page selected.
instead of going back and forth to select different models.
hope someone can can help......or point me in the right direction.
thanks |