Can someone see why only List1 gets filled, and List2 stays empty? It does get a select name of yyyy. I found if I remmed out lines for List1, then List2 filled? Thanks
</select></td>
<td align="left" width="421" valign="top">
<?
echo "<select name=\"List1\">";
echo "<option size =10 selected>xxxx</option>";
if(mysql_num_rows($result))
{
while($row = mysql_fetch_assoc($result))
{
echo "<option>$row[Orderdate]</option>";
}
}
else {
echo "<option>No Data Present</option>";
}
echo '</select name>';
?>
</select></td>
<td align="left" width="400" valign="top">
<?
echo "<select name=\"List2\">";
echo "<option size =10 selected>yyyy</option>";
if(mysql_num_rows($result))
{
while($row = mysql_fetch_assoc($result))
{
echo "<option>$row[Orderdate]</option>";
}
}
else {
echo "<option>No Data Present</option>";
}
echo '</select name>';
?>
</select></td></tr>
</table>
</div>
<p> </p>
</select></td>
<td align="left" width="421" valign="top">
<?
echo "<select name=\"List1\">";
echo "<option size =10 selected>xxxx</option>";
if(mysql_num_rows($result))
{
while($row = mysql_fetch_assoc($result))
{
echo "<option>$row[Orderdate]</option>";
}
}
else {
echo "<option>No Data Present</option>";
}
echo '</select name>';
?>
</select></td>
<td align="left" width="400" valign="top">
<?
echo "<select name=\"List2\">";
echo "<option size =10 selected>yyyy</option>";
if(mysql_num_rows($result))
{
while($row = mysql_fetch_assoc($result))
{
echo "<option>$row[Orderdate]</option>";
}
}
else {
echo "<option>No Data Present</option>";
}
echo '</select name>';
?>
</select></td></tr>
</table>
</div>
<p> </p>