Hello,
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");
How is this done dynamically in PHP? I am stuck.