Thanks for your help on this.
I'm having a problem:
#1
It's not jumping to "next_page.php" when I select the from the menu.
<?php require_once('Connections/looking4_art.php'); ?>
<?php
mysql_select_db($database_looking4_art, $looking4_art);
$query_Recordset1 = "SELECT * FROM artists ORDER BY `Last` ASC";
$Recordset1 = mysql_query($query_Recordset1, $looking4_art) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>
<form name="form1" action="next_page.php" method="post"><select name="menu1" onChange="MM_jumpMenu('parent',this,1)">
<?php
do {
?>
<option value="<?php echo $row_Recordset1['ID']?>"><?php echo $row_Recordset1['ID']?></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>
<?php
mysql_free_result($Recordset1);
?>
<?php require_once('Connections/looking4_art.php'); ?>
<?php
// declare variables
$menu = $_POST['menu1']; // name of select menu set
// connect to db
mysql_select_db($database_looking4_art, $looking4_art);
$query_Recordset1 = "SELECT * FROM artists ORDER BY `Last` ASC";
$Recordset1 = mysql_query($query_Recordset1, $looking4_art) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
// perform query
$query_Recordset1 = "SELECT * FROM table WHERE ID = '$menu1'";
$result = mysql_query($query) or die(mysql_error());
// display results
while($row = mysql_fetch_array($result))
{
echo 'Name'. $row['Last'];
echo 'Age'. $row['First'];
// or whatever columns you want to display.
}