PHP and escaping characters ?

I’m trying with the below code, to get todays date to show as Friday, the 30th of September 2016, but further down is how it is appearing? How would you do it please?

[php]<?php
date_default_timezone_set(‘GMT’);
#echo date(“l, \t\h\e jS of F, Y,”);
echo date(“l, \t\h\e jS \of F, Y”);
?>[/php]

Friday, th 30th of September, 2016

Any help much appreciated.

Chris.

[php]echo date(“l, \t\h\e jS \of F, Y”);[/php]

THank you very much Aston. All solved. :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service