I would like to write dynamic data from my database into an array, sort the values and print the array values without the indexes afterwards.
How do I do that?
Let's say I have this:
while ($row = mysql_fetch_object($sql)) {
$array .= array($value =>$row->test);
}
sort($array);
and so on....
btw, above code does not work, that's why I'm asking :rolleyes: