Yes, yes, I thought that too, and I actually coded that way initially because that was the example in the PHP manual, but when I tested the code, it returned:
$sortArray['$db[0]'] = $db[1];
::returns::
Array ( [0] => Helga's Hospitality Co. )
Then I took the quotes out and got all the entries listed. I'm thinking it has something to do with the fact that I'm trying to transfer the values from one array to another. But then again, I'm an artist, not a programmer! LoL!
ideas?
edit:
When I put the line in double quotes,
$sortArray["$db[0]"] = $db[1];
it will display everything I'm expecting, but still no ID number as the key.