Okay, so you've got <select> tags named thelist_1, thelist_2, and so on. Judging from what I can see, the values of $POST['thelist_1'], $POST['thelist_2'], and so on will be the subgenre ID for the album selected. I take it this isn't what you want?
Incidentally, calling the <select> tags thelist[1], thelist[2], etc., would make the processing step easier (and more robust):
Page 1:
while ($subrows = mysql_fetch_array($subres)) // puts the subgenres id and name into array
{ $numb = $subrows['id'];
echo "<tr><td>Select a Featured Album from $subrows[name]</td></tr>
<tr><td>";
$picklist = "thelist[$numb]";
echo "$picklist<select name='$picklist'> ";
echo" <option value=''></option><option value=''>No Album</option>";
$subgenres = mysql_query("select featured,title,artist from cds where subgenreid='$subrows[id]' ORDER BY title");
while ($subgenrows = mysql_fetch_array($subgenres))
{ echo "<option value='$subrows[id]'"; if ($subgenrows['featured'] == "yes")
{ echo " selected ";
}
echo ">$subrows[id] $subgenrows[title] by $subgenrows[artist]</option>";
}
echo "</select></td><td><input type='hidden' name='subnum' value='$subnum'>";
echo"<input type='submit' name='featsubmit' value='Select Featured Album for $subrows[name]'></td></tr>";
}
and page 2:
foreach($_POST['thelist'] as $thisnumber)
{ echo "$shazam<br>";
$newquery = "select * from cds where id='$thisnumber'";
echo "$newquery<br>";
$newres = mysql_query($newquery) ;
$newrow = mysql_fetch_array($newres) ;
echo "The newrow subgenreid is $newrow[subgenreid]<br>The newrow id is $newrow[id]<br>";
mysql_query("update cds set featured='no' where subgenreid='$newrow[subgenreid]'") ;
mysql_query("update cds set featured='yes' where id='$newrow[id]'") ;
$catres = mysql_query("select * from subgenres where id='$newrow[subgenreid]'") ;
$catrow = mysql_fetch_array($catres) ;
echo "$newrow[title] by $newrow[artist] is now featured in $catrow[name]<br>";
}