so i have this code on 3 different pages... and i'm kinda a newb... can u please help. the script is suppose to let someone select a $manufacturer... then from there select a $model... and then finally see the $notes for that model. The script works until it gets to the $notes. it shows the notes for all the $manufacturers $models and not just the selected $model. Here is the codes from the 3 pages:
index.php
mysql_select_db("next2new_phone_notes", $mysql_access);
$result = mysql_query("SHOW tables", $mysql_access);
while($manufacturer = mysql_fetch_row($result))
echo"<a href=see_phones.php?manufacturer=$manufacturer[0]>$manufacturer[0]</a><br>";
see_phones.php
mysql_select_db("next2new_phone_notes", $mysql_access);
$result = mysql_query("SELECT DISTINCT model FROM $manufacturer ORDER BY id DESC", $mysql_access);
while($model = mysql_fetch_row($result))
echo"<a href=phone_notes.php?manufacturer=$manufacturer&?model=$model[0]>$model[0]</a><br>";
phone_notes.php
mysql_select_db("next2new_phone_notes", $mysql_access);
$result = mysql_query("SELECT note FROM $manufacturer WHERE model=\"$model\"", $mysql_access);
while($note = mysql_fetch_row($result))
echo"$note[0]<hr>";