$subject .= "\nBooking Commences: ".date("jS F Y")." at ".date("H\:i")

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:

Booking Commences: 24th September 2003 a 09:00

I think the \t is being interpreted as a 'tab', how can i get around this?

Thanks for your help

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to