Dynamic Bootstrap Carousel Programming Web Development by Ventech_IT I am trying to make my bootstrap carousel dynamic in codeiginter here is what i have so far Model Fucntion function … why my image retrieval using codeiginter doesnt work? Programming Web Development by samsons17 Hi all.. I am working on a website which require me to handle the image uploading and retrieval. This website is some kind like an image gallery. Straight to the point, i am having trouble in retrieving the last image to be displayed on my view.Clearly to be said, i capable of retrieving the first image from my image directory file, but when… Re: why my image retrieval using codeiginter doesnt work? Programming Web Development by mr.allty Hi! Try next: [CODE]<img src="<?php echo $images[COLOR="Red"][$count-1][/COLOR]['thumb_url'];?>" />[/CODE] Re: why my image retrieval using codeiginter doesnt work? Programming Web Development by samsons17 [QUOTE=mr.allty;1548187]Hi! Try next: [CODE]<img src="<?php echo $images[COLOR="Red"][$count-1][/COLOR]['thumb_url'];?>" />[/CODE][/QUOTE] Hi there, its working great!! but how you know it'll be working? anyway , thank you so much :) Re: why my image retrieval using codeiginter doesnt work? Programming Web Development by samsons17 eh wait..but its not always working...at he some point, there is no image display at all (like it is the broken image link) and sometimes the images being displayed, its also not the last image being uploaded. why is that happens?whats wrong with the array here? Re: why my image retrieval using codeiginter doesnt work? Programming Web Development by mr.allty Hi again! Try next method: reverse your array using array_reverse() function, then just call first element in you reversed array like echo $reversed_array[0] <- There you will get the first element in reversed array that same as the last element in your previous non-reversed array. f/e, [code=php] $array = array(0 => "first", 1 … Re: Dynamic Bootstrap Carousel Programming Web Development by mangel.murti * As i read your code , you need to check your view function. i just modify function for test purpose **public function get_all_images(){** $this->load->model('carsol'); $query = $this->carsol->get_all_images(); $count = count($query); $indicators = ''; $slides = '';… Re: Dynamic Bootstrap Carousel Programming Web Development by mangel.murti You can see code here. [Click Here](http://code2you.blogspot.in/2015/11/displaying-images-codeigniter-mysql.html)