im trying to sort names from sql
while($ddfg = mysql_fetch_array($result_skey002))
{
$total = $ddfg['name2'];
}
sort($total);
echo $total;
Somthing like that ..,
Im work with name in hebrew so this its doesnt working:
$query_skey002 = "SELECT * FROM s_keywords ORDER BY `name2` ASC";
I have no idea how to work with php sort function.
Thanks for the helpers
$total = $ddfg['name2'];
should be$total[] = $ddfg['name2'];
andecho $total
should be something else – Orangepill Jul 17 '13 at 20:52