Re: Problem with adding text to emails using the date function
| From: | Marek Kilimajer | Date: | Wed, 24 Sep 2003 15:14: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-163762@lists.php.net to get a copy of this message | ||
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: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