Jump to content

PHP and MySQL


TheLostGuru

Recommended Posts

Hi,

 

What I want to do is have users log into a page and be able to pull information from a database.  I want the database to update itself every 5 minutes and resend its information back to the users logged in after it has finished updating.  Is this even possible?  And if so, how would I go about doing this?  Thanks

TheLostGuru

Link to comment
https://forums.phpfreaks.com/topic/37424-php-and-mysql/
Share on other sites

Thanks for the quick response.  I am a little confused by your reply, though. 

"wite a page that doing all the update, statistic..."

Is this the page that a user brings up, or where is this page?  and is this the page that is refreshed every 5 minutes?  Or is it the user's page that is refreshed every 5?

Link to comment
https://forums.phpfreaks.com/topic/37424-php-and-mysql/#findComment-178903
Share on other sites

If you google it you would find better answer than mine.

 

Cronjob is a scheduled task, say you want your alarm clock turn on M - F at 8am.  Cronjob is very similar to that idea.  Instead of having heard annoying sound, you can run a script, and this script update the database.

Link to comment
https://forums.phpfreaks.com/topic/37424-php-and-mysql/#findComment-178944
Share on other sites

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.