• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.