1: 2: 3: 4: 5: 6: 7: 8:
$liste = array( '5' => 6.99, '15' => 17.25, '30' => 33.00, '60' => 63.00 );
1: 2: 3: 4:
$liste = array(); while ($row = mysql_fetch_array($result)) { $liste[$row['coins']] = $row['wert']; }