My array like this :
$arr = array('chelsea.jpg', 'arsenal.jpg');
If I run : echo '<pre>';print_r($arr);echo '</pre>';
The result :
Array
(
[0] => chelsea.jpg
[1] => arsenal.jpg
)
I want to change the key. So the result to be like this :
Array
(
[cover1] => chelsea.jpg
[cover2] => arsenal.jpg
)
How can I do it?