Handeling this array has been like trying to nail jello to a wall. My coding skills are limited and figuring out a way to loop through this array has perplexed me. The only work around I came up with was to go through all 48 elements in a linear "monolithic" construct.
Is there a way to combine every three lines? So that the teams, scores and game results were on one line separated by tabs. Making 48 indexed lines into 16?
I have grazed through this page to create an array with only the information that I want.
http://www.sportsline.com/nfl/box-scoreboards
Code: Select all
Array
(
[0] => 49ers Seahawks
[1] => 24 14
[2] => Final
[3] => Cowboys Falcons
[4] => 38 28
[5] => Final
[6] => Steelers Panthers
[7] => 37 3
[8] => Final