UPCOMING ZOOM REMOTE COURSE SCHEDULE
Updated regularly as classes fill and new ones open.
$requestURL = $url;
# MAKE THE REQUEST
$session = curl_init($requestURL);
curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($session);
curl_close($session);
# RETURN THE RESPONSE
return $response;
}
$xmlbody = makerequest(“https://pcprofessor.com/3333.xml”);
$xmlbody = simplexml_load_string($xmlbody);
echo ‘
‘;$start = 0;
if(!empty($xmlbody->channel)) {foreach($xmlbody->channel->item as $item) {$oddeven = $start & 1;
if($oddeven == 0) { $class = ‘ class=”alt”‘; } else { $class = ”; }
echo ‘
<tr’.$class.’>’.$item->classname.”.$item->startingdate.”.$item->schedule.’Click For Details‘;$start++;
}echo ‘
if(!empty($xmlbody->channel)) {foreach($xmlbody->channel->item as $item) {$oddeven = $start & 1;
if($oddeven == 0) { $class = ‘ class=”alt”‘; } else { $class = ”; }
echo ‘
<tr’.$class.’>’.$item->classname.”.$item->startingdate.”.$item->schedule.’Click For Details‘;$start++;
}echo ‘
Class Name | Starts On | Schedule | Click For Details |
---|
‘;
}
?>