checking database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

shivam0101 wrote:logging system means checking the database at pre-defined regular interval?
You need to research MySQL's logging system.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

shivam0101 wrote:logging system means checking the database at pre-defined regular interval?
That's the point I don't understand. Why do you want to check the database at a pre-defined interval? I see no reason to do that.
shivam0101
Forum Contributor
Posts: 197
Joined: Sat Jun 09, 2007 12:09 am

Post by shivam0101 »

That's the point I don't understand. Why do you want to check the database at a pre-defined interval? I see no reason to do that.
To know current online users.



You need to research MySQL's logging system.
feyd, a link would be help me better.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

shivam0101 wrote:
That's the point I don't understand. Why do you want to check the database at a pre-defined interval? I see no reason to do that.
To know current online users.
You could just make it so the only time that you check is when the user actually asks instead of wasting everyone's (including your) bandwidth. The only time it'd need to be live is if you made a chat room.
shivam0101
Forum Contributor
Posts: 197
Joined: Sat Jun 09, 2007 12:09 am

Post by shivam0101 »

updating without refresh is done by checking database at regular intervals?
Post Reply