Could somebody get me started on a PHP switch or IF ELSE function to set the
current week of a football season. Right now I am setting the date manually
each week with the following:
<?php
// function TO GET curweek of football season
function getCurWeek() {
$curWeek = '05';
return $curWeek;
} // end of getCurWeek
?>
Ideally I want to test the current date if it's between the start and end
date of each week. The wrinkle is and I need to adjust somehow, the pro
season is 1-week behind the college season and anything past curweek['15']
will be 'PS' post season for college and past curweek['17'] for pro's will
be 'PS' if you follow. I'll probably have to return two values instead of
the 1 that I'm doing now. I tried several and my php date syntax doesn't
work.
Gary Jeurink
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/13EA54DEA75244F7827B856A3D43524E@OwnerPC
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.