hey all im new here and kind of new to php and i need to create my html tage in alph order by App_Last any help would be great thanks
$query1="SELECT App_Last, App_First
FROM applicant
WHERE (App_Last IS NOT NULL OR App_First IS NOT NULL) AND applicationID='".$r['0']."'
ORDER BY App_First"; echo $query1;
$result1 = mysql_db_query($aidDB, $query1, $connection);
while($r1 = mysql_fetch_array($result1)){
$temp_array1[$y][0]="<option value=\"".$r['0']."\">".$r1['1'].",".$r1['0']."</option>";
$x++;
$y++;