Welcome Guest, Not a member yet? Register   Sign In
How do i refresh my database results after an upload
#1

[eluser]Unknown[/eluser]
Hi,

I have a page showing a list of images from a database, with an upload form at the top,

After an image has been uploaded, how do i have my database results updated, without having to refresh the page?
#2

[eluser]boltsabre[/eluser]
You'll have to use AJAX to make another call to your database after your upload and re-display the results with the new upload - there are several video tutorials (in the tutorial section) on here about how to implement AJAX with CI.




Theme © iAndrew 2016 - Forum software by © MyBB