Good day!
Here I try to make a drop-down list in which the data from the database would be loaded ... and the written code does not work ... please tell me what is wrong.
<SELECT NAME="а"> <? $result = mysql_query("SELECT * FROM `wayflag` WHERE `rn` = '".$_GET['rn']."' ORDER BY `atitle`",$link); $myrow = mysql_fetch_array($result); do { printf ("<option value='%s'>%s</option>",$myrow["obj"],$myrow["atitle"]); } while ($myrow = mysql_fetch_array($result)); ?> </SELECT>