Jump to content

Data question


cowboysdude

Recommended Posts

currently I am using this:

 

if ($display == "schedule") {

$schedule = $ffn->getSchedule();

echo '<h4>Season Schedule</h4>';
echo '<p>Season: ', $schedule->Season, '</p>';

foreach($schedule->Games AS $game) {
echo '<p>';
echo 'Week: ', $game->Week, ' ', $game->AwayTeam, ' at ', $game->HomeTeam, ' on ', date("M j, Y", strtotime($game->GameDate)), ' at ', $game->GameTime, ' ', $schedule->Timezone;
echo '</p>';
}
}

 

It's working great... the only problem I want to be able for users to pick a week then have it display that weeks matchups...

 

Any help would be greatly appreciated!!

 

 

Link to comment
https://forums.phpfreaks.com/topic/216052-data-question/
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.