I have data in the format:
Football - 101 Carolina Panthers +15 -110 for Game
Football - 101 Carolina Panthers/Pittsburgh Steelers under 36½ -110 for Game
Football - 102 Pittsburgh Steelers -9 -120 for 1st Half
How to transform this into a PHP array:
$game_data[] = array( 'sport_type' => 'Football',
'game_number' => 101,
'game_name' => 'Carolina Panthers',
'runline_odd' => '+15 -110',
'total_odd' => '',
'odd_type' => 'runline',
'period' => 'Game' );
$game_data[] = array( 'sport_type' => 'Football',
'game_number' => 101,
'game_name' => 'Carolina Panthers/Pittsburgh Steelers',
'runline_odd' => '',
'total_odd' => 'under 36½ -110',
'odd_type' => 'total_odd',
'period' => 'Game' );
$game_data[] = array( 'sport_type' => 'Football',
'game_number' => 102,
'game_name' => 'Pittsburgh Steelers',
'runline_odd' => '-9 -120',
'total_odd' => '',
'odd_type' => 'runline',
'period' => '1st Half' );