打印文本以及功能输出[关闭]

I have a small program designed to out put the date

<?php
echo '<p>Ordered on  ';
echo date('F jS g:iA');
echo '</p>';
?>

This outputs "Ordered on December 6th 5:25PM", how do i get the function to output "Ordered on December 6th at 5:25PM" instead?

try this:

<?php
echo '<p>Ordered on  ';
echo date('F jS'), ' at ', date('g:iA');
echo '</p>';
?>

This should work for you:

echo '<p>Ordered on  ';
echo date('F jS \a\t g:iA');
echo '</p>';