prcollin Posted June 29, 2010 Share Posted June 29, 2010 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 Link to comment https://forums.phpfreaks.com/topic/206138-pulling-live-scores/ Share on other sites More sharing options...
shortysbest Posted June 29, 2010 Share Posted June 29, 2010 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 More sharing options...
prcollin Posted June 29, 2010 Author Share Posted June 29, 2010 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 More sharing options...
shortysbest Posted June 29, 2010 Share Posted June 29, 2010 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 More sharing options...
pengu Posted June 29, 2010 Share Posted June 29, 2010 RSS feeds I thought. XML stuffs. Link to comment https://forums.phpfreaks.com/topic/206138-pulling-live-scores/#findComment-1078578 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.