SkaKri Posted May 14, 2006 Report Share Posted May 14, 2006 kādēļ fecho (' <select name="aaa" class="textbox"> <option value="">izveelne</option> '); $query = "SELECT bbb FROM ccc WHERE kakjis='1' ORDER BY bbb ASC;"; $query_result = mysql_query ($query) or die (mysql_error()); while ($ddd=mysql_fetch_array($query_result)) { $ccc[]=$ddd['bbb']; } unset ($ddd); reset ($ccc); while (list($k, $val) = each($ccc)) { fecho ('<option value="'.$val.'">'.$val.'</option>'); } fecho (' </select> izvada sarakstu 2x....? Link to comment Share on other sites More sharing options...
Delfins Posted May 15, 2006 Report Share Posted May 15, 2006 Kas i ko, treisot nemākam? Link to comment Share on other sites More sharing options...
Recommended Posts