Day of week test Day as # Day as String Date '.date("N").' '.date("D").' '.date("n/j/Y").' '; //------------------------------ //Insert data for the next 9 days. //----------------------------- for ($day_counter = 1; $day_counter < 10; $day_counter++) { echo ' '.date("N",strtotime("+ ".$day_counter." day")).' '.date("D",strtotime("+ ".$day_counter." day")).' '.date("n/j/Y",strtotime("+ ".$day_counter." day")).' ' ; } ; //------------------------------ //Close the table //----------------------------- echo ' '; ?>