duplicate one element from php array
- by robertdd
how i can duplicate one element from array:
for example, i have this array:
Array
(
[LRDEPN] => 0008.jpg
[OABCFT] => 0030.jpg
[SIFCFJ] => 0011.jpg
[KEMOMD] => 0022.jpg
[DHORLN] => 0026.jpg
[AHFUFB] => 0029.jpg
)
if i want to duplicate this: 0011.jpg , how to proceed?
i want to get this:
Array
(
[LRDEPN] => 0008.jpg
[OABCFT] => 0030.jpg
[SIFCFJ] => 0011.jpg
[NEWKEY] => 0011.jpg
[KEMOMD] => 0022.jpg
[DHORLN] => 0026.jpg
[AHFUFB] => 0029.jpg
)