thanks! I got the menu looking correct. I've decided to just use a GO button for now - but it doesn't work. Do you see anything wrong with my code?
<?php
require('commonvars.php');
mysql_connect(localhost,$dbuser,$dbpass);
@mysql_select_db($database) or die ("Unable to connect!");
$query="SELECT * FROM horse";
$result=mysql_query($query);
echo ("<b><font size=4>SELECTION</font></b><br><br>");
$num=mysql_numrows($result);
echo ("<select name='select'>");
$i=0;
while ($i < $num) {
$reg_num=mysql_result($result,$i,"reg_num");
$reg_name=mysql_result($result,$i,"reg_name");
$nickname=mysql_result($result,$i,"nickname");
$bdate=mysql_result($result,$i,"bdate");
$sex=mysql_result($result,$i,"sex");
$sire=mysql_result($result,$i,"sire");
$dam=mysql_result($result,$i,"dam");
echo ("<option value='$reg_num'>$reg_name</option>");
++$i;
}
echo ("</select><a href=$PHP_SELF?pedigree=$select><img src=images/go_button.gif></a>");
?>
the problem is at the end of the options I have my link. the $select var isn't working. Did do it completely wrong? Can you tell I am not a pro?