Originally posted by laserlight
I think mrhappiness meant to ask: "why does it have to be an associative array?"
You might be able to use [man]array_values/man to turn it into a numerically indexed array.
But there is a little problem, because I get this array from a database(using PEAR), llike this:
$query="SELECT picture_new FROM tblRealisations WHERE new=1";
$myArray = $dataBase->getAll($query, array(), DB_FETCHMODE_ASSOC);
And I don't have an idea how to change an associative array into indexed array nor how to get indexed array from this query.