Home
About the Book
About the Author
Articles
Purchase the Book
Raw Events
Contact Matt

Events

= "$today") { $dateString = ""; $body = ""; $monthArray = array( 1=> "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); $year = substr($dates, 0, 4); $month = substr($dates, 4, 2); settype($month, "integer"); $day = substr($dates, 6, 2); $dateString .= $monthArray[$month]; $dateString .= " "; $dateString .= $day; $dateString .= ", "; $dateString .= $year; $day = date ("l", mktime(0,0,0,"$month","$day","$year")); $body .= "\n"; $body .= "\n"; if ($location) {$body .= "\n";} if ($times) {$body .= "\n";} if ($cost) {$body .= "\n";} if ($address) {$body .= "\n";} $body .= "\n"; if ($contact_name) {$body .= "\n";} if ($phone_number) {$body .= "\n";} if ($contact_email) {$body .= "\n";} if ($url) {$body .= "\n";} if ($description) {$body .= "\n";} if ($misc) {$body .= "\n";} $body .= ""; echo $body; } $i++; } ?>
$title
$day, $dateString
$location
$times
$cost
$address
For More Information and R.S.V.P. Contact:
 $contact_name
$phone_number
$contact_email
$url
$description
$misc