Feb 13

Display ICC Cricket World Cup 2015 Live Scores & Schedule in your Website in PHP

Display ICC Cricket World Cup 2015 Live Scores & Schedule in your Website in PHP

Type 1
Get CricBuzz Live Score XML Feed:

Live Score Match:

http://synd.cricbuzz.com/j2me/1.0/livematches.xml

Gadget Scores:

http://synd.cricbuzz.com/score-gadget/gadget-scores-feed.xml

Gadget Scores:

http://synd.cricbuzz.com/j2me/1.0/sch_calender.xml

To change xml to array:

 

Type 2
Live Scorecard Widget

https://www.cricruns.com/widget/

Jan 23

If your using PHP >= 5.5 use array_column instead array_map for array column result

If your using PHP >= 5.5 use array_column instead array_map for array column result

Example:

The above example will output:

Jan 23

Split time slots between start time and end time in PHP

Creating time between start time and end time in interval of 30 Minutes in PHP

Check Result:

result: