What I'm trying to do is allow people to choose dates of travel in the next 30 days only, and only Thursdays & Sundays.
I'm thinking:
$today = date("Y-m-d"
;
$today = strtotime($today);
then spliting it up & using gregoriantojd to get day of week.
Before I really delve into this, do any of you have an easier way?
I'm thinking:
$today = date("Y-m-d"

$today = strtotime($today);
then spliting it up & using gregoriantojd to get day of week.
Before I really delve into this, do any of you have an easier way?