Forum Moderators: coopster
$Result2 = mysql_query($Query2, $Link);
?>
<option value="" selected>All</option>
<?
while ($Row2 = mysql_fetch_assoc ($Result2))
{
?>
<option value="<?=$Row2['eFrom']?>"><?=$Row2['eFrom']?></option>
<?
}
mysql_free_result($Result2);
?>
Theres more around it just a brief snippet, it loads fine after this is loaded im trying to test the value of the selected field. and well it doesnt seem to want to test with the code below. ive been looking and i cant find the correct syntax to test it. here is what im using anyone know the correct way to test this?
if (patient_orders.criteria.value == "") {
$search="blehbleh";
}
--->form name is patient_orders
--->select name is criteria