Mega Code Archive

 
Categories / Php / Data Type
 

Creates an array that assigns keys 1 through 7 to the days of the week

<?     $days = array(1=>"Sunday", "Monday", "Tuesday","Wednesday", "Thursday", "Friday", "Saturday"); ?>