New Another Pair of Eyes Please
Posted: Mon Aug 28, 2006 2:13 pm
In my program this code seems to be working properly
By properly, I mean the list is populated with the right information. In pedigree.php, I have the following code at the top (where I've always put it..)
$deer_to_use is always empty.
Could someone please tell me what I'm overlooking.
Thank you
Code: Select all
echo "<form action='pedigree.php' method=post>";
echo "<select name='deerlist'>";
while ($row = mysql_fetch_array($result)) {
extract($row);
echo "<option value='$deerunumber'>$deernumber\n";
}
echo "</select>";
echo "<input type=submit value=submit>";
echo "</form>";Code: Select all
$deer_to_use=strip_tags(trim($_POST['deerlist']));
echo 'deer to use is ->'. $deer_to_use;Could someone please tell me what I'm overlooking.
Thank you