0) { $str = substr($PATH_INFO, 1); $GuideCategory = strtok($str, "/"); $Article_ID = strtok("/"); $extracommand = strtok("/"); } ?> skiwatch.com Sweepstakes Enter to win
skiwtach

'$today' ORDER BY event_type"; $results = mysql_query ($sql,$myDbLink->db_link); while ($row = mysql_fetch_object ($results)) { $start_date = $row->event_date; $start_date = substr($start_date, 0, 10); $start_date = explode("-", $start_date); $year = $start_date[0]; $month = $start_date[1]; $day = $start_date[2]; $image = $row->event_type; if ($image == 'Ski Bash') { if (($rowb =='0') && ($event_type = 'Ski Bash')) { echo "
"; $rowb++; } } if ($image == 'Redemption') { if ($rowr =='0' && ($event_type = 'Redemption')) { echo "
"; $rowr++; } } if ($image == 'Mountain') { if ($rowx =='0' && ($event_type = 'Mountain')) { echo "

Our Mountain Events
"; $rowx++; } } echo "

"; echo "
link."\">".$row->event_name."$row->event_details$month-$day-$year"; echo "
"; } //mysql_close($connection); ?>