Below is my array, where I want to replace [image] => 201310171708033183470.jpg with full path like:
[image] => http://localhost/website/uploads/201310171708033183470.jpg
I want to give a full path to all the image name below:
[images] => Array
(
[0] => Array
(
[id] => 12
[product_id] => 9
[image] => 201310171708033183470.jpg
[order] => 1
[status] => 1
[created] => 2013-10-17 17:08:03
[modified] => 2013-10-17 17:08:03
)
[1] => Array
(
[id] => 11
[product_id] => 9
[image] => 201310171514176427410.jpg
[order] => 1
[status] => 1
[created] => 2013-10-17 15:14:17
[modified] => 2013-10-17 15:14:17
)
[2] => Array
(
[id] => 10
[product_id] => 9
[image] => 201310171514066591090.jpg
[order] => 1
[status] => 1
[created] => 2013-10-17 15:14:06
[modified] => 2013-10-17 15:14:06
)
[3] => Array
(
[id] => 9
[product_id] => 9
[image] => 201310171513591880300.jpg
[order] => 1
[status] => 1
[created] => 2013-10-17 15:13:59
[modified] => 2013-10-17 15:13:59
)
)
Which is the quickest and most optimized way of doing that?