Jump to content

how can I make my page feel with database ?


elhelaly1999

Recommended Posts

Periodically check the database to see if it updates. Your ajax script would have to do that at timed intervals - there isn't a way for the database to tell the user that it was updated.

 

Example:

Person A loads the 'check database' script

Person A's page automatically checks the database - nothing new, so do nothing

Person B adds a new row

Person A's page automatically checks the database - one new row, let user know.

...

Person A's page automatically checks the database - nothing new again, do nothing

...

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.