Hello!
Tell me, please, is it possible in PHP to convert an array received from a database into a string with PHP code to create an array?
For example, from the database I get:
Array ( [0] => Array ( [mark] => Toyota ) [1] => Array ( [mark] => Nissan ) [2] => Array ( [mark] => Ваз ) Need to convert to:
$arr = array( array('mark' => 'Toyota'), array('mark' => 'Nissan'), array('mark' => 'Ваз'), ); It is necessary to once again not send a request to the database. Manually fill the array for a very long time.