Reputation: 1215
I am trying to retrieve image using the image path (which saved in the database) in the array index.
like-
< img src= "< ? php echo base_url().$info['/assets/img/women_collection/2/main_image_gallery.jpg'];? >" / >
But it does not woring!.
plz help! .
Upvotes: 0
Views: 79
Reputation: 1823
I assume $info is your database results?
Your array key should be the database table row.
$info['image']
Upvotes: 1