Working from info discussed here: http://www.phpbuilder.com/board/showthread.php?s=&threadid=10280927, if you're curious
I have an array created by adding the results of two MySQL queries,
while($row = mysql_fetch_array($result1)) {
$new[] = array($row['name'] => $row['ID']);
}
while($row2 = mysql_fetch_array($result2)) {
$new[] = array($row2['name'] => $row2['ID']);
}
to create structure like this:
[43] => Array ( [a name] => an ID )
Everything else is working, but I can't figure out how to sort everything by the name field without losing the association.
I'd be glad of some suggestions.