How do I output the array from the database in a specific format?
blunted and can't solve a problem with the output in the array.
There is a mysql table with fields ID and TITLE
It is necessary to withdraw the array in the format
$param=array('1'=>"consumables", '2'=> 'paint', '3'=>"order");