queerfm
09-22-2009, 04:09 AM
Hi I am currently working on a project, where I need to count in an ajax/javascript way to show when a new row is added, without the user having to refresh the page.
As we use MySQL, PHP5 and we already use some javascript, I am wondering how I would get it to show a counter like http://www.twitpocalypse.com/
But instead of all being Javascript, it would count how many rows are in the DB.
The table that we want to get the data out of is named entry
Thanks
As we use MySQL, PHP5 and we already use some javascript, I am wondering how I would get it to show a counter like http://www.twitpocalypse.com/
But instead of all being Javascript, it would count how many rows are in the DB.
The table that we want to get the data out of is named entry
Thanks