Jump to content
xisto Community
Sign in to follow this  
tariqrf

Detecting New Entries In The Database, Live

Recommended Posts

ok... i got the newline thing solved,ok, i finally got things up and working, the database is fine, now there is another problem that i've stumbled accross.... how to detect live,, whenever there is a new entry in teh database.. hmm.... tricky.. but i am no good php and mysql as i am brand new to the whole concept, so i thought i could do this.. created a continous looped flash movie, and have a php code at the beggining.. which counts the no. of entries that are there in the database, and then every two minutes, it counts it again, if the new value is greater the previous no. of entries,, then it goes to another frame which has the message written and a button, which on clicking sets the current no of entries to the current highest value, and again falls into the loop... hmm.. i think its a good enuff idea but i dont know if there is any other method that is good for such purposes, as this has to happen live! so what are the neccessay querys that i need to get all the data i want from the database???? i donno.. i will have a lot of question till the day afta tomm, thats my deadline for finishing this site i am working on.. Cheers, Tariq

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.