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
Share on other sites

yes, it is possible, although the mechanism is not as you wished.

 

You will need to write a page that doing all the update, statistic...

and

Set the pageto refresh every 5 mins as you wanted, and bam, you have a fresh updated page.

Link to comment
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.