Jump to content

Pulling live scores


prcollin

Recommended Posts

I am starting a sports based website and wanted to pulllive scores from major sites or from some database, how do i go about doing that ??  Can anyone pointme in the right direction

 

You will need to use Ajax to update the score without reloading the entire page.

Link to comment
https://forums.phpfreaks.com/topic/206138-pulling-live-scores/#findComment-1078568
Share on other sites

I am starting a sports based website and wanted to pulllive scores from major sites or from some database, how do i go about doing that ??  Can anyone pointme in the right direction

how do i get the scores in the first place though?  like how do i get the live scores from other sites?

You will need to use Ajax to update the score without reloading the entire page.

Link to comment
https://forums.phpfreaks.com/topic/206138-pulling-live-scores/#findComment-1078571
Share on other sites

I am starting a sports based website and wanted to pulllive scores from major sites or from some database, how do i go about doing that ??  Can anyone pointme in the right direction

how do i get the scores in the first place though?  like how do i get the live scores from other sites?

You will need to use Ajax to update the score without reloading the entire page.

 

Ahh from another site, Alright So it sounds like you would need to use cURL http://au.php.net/curl to retrieve the information. However i haven't got any experience with it so i cannot point you any further sorry :| But i would suggest reading up on how to use cURL, from what i understand you would use this to get the information you wanted and then use a mysql command to store it in your database, that would be the hardest part to figure out, after that you would just use some ajax to automatically update the score.

Link to comment
https://forums.phpfreaks.com/topic/206138-pulling-live-scores/#findComment-1078575
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.