I got a database with 2 fields (amount and name). I want to get all data from the database (40 rows) and create an associated array out of it like this.
$arr = array("amount" => "12", "name" => "John");
Bu PHP dinamik nasıl yapılır? Ben şaşırıp.