Vote count:
0
is there any way to transform this array
$old = array('white', 'blue', 'black');
into
$new = array( "white" => "white", "blue" => "blue", "black" => "black");
This is an example, but I have a large list of items and writing them is painful.
asked 35 secs ago
Generate array from another array PHP
Aucun commentaire:
Enregistrer un commentaire