I am trying to display the word "at" in the time of post in the following code:
<?php the_time('l, F j, Y @ g:i a'); ?>
The @ symbol works but I want the word. Is this possible?
Thanks,
Joey
I am trying to display the word "at" in the time of post in the following code:
<?php the_time('l, F j, Y @ g:i a'); ?>
The @ symbol works but I want the word. Is this possible?
Thanks,
Joey
http://us4.php.net/manual/en/function.date.php
Try:
<?php the_time('l, F j, Y a\t g:i a'); ?>
You may only need 1 backslash in front of the t.
Great! at did the trick!
Thanks,
Joey
I meant at.
ok -- "slash a slash t"
Damn - sorry. My slashes got stripped. Glad you figured it out.
For others:
\a\t
or maybe \a\\t
Whatever works :)
This topic has been closed to new replies.