query("select * from tourdates where (year=$todaysyear and month<$todaysmonth) or (year=$todaysyear and month=$todaysmonth and day<$todaysday) or year<$todaysyear". "order by year, month, day, time"); }else{ $calendardb->query("select * from tourdates where (year=$todaysyear and month>$todaysmonth) or (year=$todaysyear and month=$todaysmonth and day>=($todaysday-1)) or year>$todaysyear". "order by year, month, day, time"); }?>
|
|