coupe-r Posted January 11, 2011 Share Posted January 11, 2011 Hi guys, Right now, I just save / update the database and refresh the page. I'd like to do all of that, but have a nice looking 'Save / Update' indication - indicator. How do you guys do it? Do you have any recommendations? Thanks Link to comment https://forums.phpfreaks.com/topic/224045-saving-update-indication-how-do-you-do-it/ Share on other sites More sharing options...
nderevj Posted January 11, 2011 Share Posted January 11, 2011 If you simply need an indicator (don't care that the page refreshes) you could have your "save / update" script POST back to your form (?) with an HTTP POST parameter that flags a successful save / update. Then use code (javascript ?) to show a temporary message: "Your data has been saved." You could enhance this by using an ajax solution so the page doesn't need to refresh. Link to comment https://forums.phpfreaks.com/topic/224045-saving-update-indication-how-do-you-do-it/#findComment-1157770 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.