Re: Problem with adding text to emails using the date function
| From: | pete M | Date: | Wed, 24 Sep 2003 15:21:14 +0000 |
| Subject: | Re: Problem with adding text to emails using the date function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163761@lists.php.net to get a copy of this message | ||
$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:00I think the \t is being interpreted as a 'tab', how can i get around this? Thanks for your help