satishpoul Posted December 10, 2012 Share Posted December 10, 2012 i don't think so that i will have to give u much info about this.. because word "REMINDER" says itself everything.so i just want to use this concept in my website.if any activity i want to do after some fix timing say 2 hours. then after 2 hours my website should give me reminder about this.so i m searching some real-time functions to implement this concept if anybody have any idea please suggest me.thank you in advance. Link to comment Share on other sites More sharing options...
justsomeguy Posted December 10, 2012 Share Posted December 10, 2012 If you want to show the notice when you pull up a page then you need to search through the database for events that are older than whatever threshold you want to use. If you want something else to happen, like it sends an email or whatever, then you need to use a cron job to periodically look for expired events and send a notification. Link to comment Share on other sites More sharing options...
satishpoul Posted December 10, 2012 Author Share Posted December 10, 2012 and if i want to use popups when reminder reminds me.. then also cron will help me for this. ? Link to comment Share on other sites More sharing options...
justsomeguy Posted December 10, 2012 Share Posted December 10, 2012 No, cron is for running code on a certain schedule. You can have that code do whatever you want, like sending an email, but if you want to update your open web page then you need code on that page to check for new notifications and update the page. Link to comment Share on other sites More sharing options...
satishpoul Posted December 11, 2012 Author Share Posted December 11, 2012 ok thank you so much.. i will try this and will update my result.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now