Hallo,
I want to sort my array (example: array[Ortslage, Strasse, Weg]) comming
from a query. Following script shows Warning: sort() expects parameter 1 to
be array, resource given in .../formular.php on line 36
var_dump($query) shows: resource(6) of type (mysql result)
How should I do this?
* Wolfgang Gliese
I want to sort my array (example: array[Ortslage, Strasse, Weg]) comming
from a query.
A mysql query returns a 'resultset', not an 'array'. In PHP you can
transform the resultset to an array, and this array can be sorted using a
PHP function. However, this is a mysql list, and