Re: [PHP] Problem with adding text to emails using the date function

2003-09-24 Thread Marek Kilimajer
You are right, the same way as \n is interpreted as a newline. Use single quotes Shaun wrote: Hi, using the folling line fo code i am trying to add some text to an email: $subject .= "\nBooking Commences: ".date("jS F Y \a\t H\:i", strtotime($booking_start_date)); However the output is: Book

[PHP] Problem with adding text to emails using the date function

2003-09-24 Thread Shaun
Hi, using the folling line fo code i am trying to add some text to an email: $subject .= "\nBooking Commences: ".date("jS F Y \a\t H\:i", strtotime($booking_start_date)); However the output is: Booking Commences: 24th September 2003 a09:00 I think the \t is being interpreted as a 'tab', h