<? echo date (l.", ".F." ".d.", ".Y); ?>
Sunday, June 09, 2002
But I would use:
<?php echo date (l.", ".F." ".d.", ".Y); ?>
Don't know why, but someone told me once it had something to do with versions.
Jeremy Bowen wrote:
> I am having nothing but trouble with the date function. I want it to print
> out a date like this: Saturday June 8, 2002 but as soon as I put spaces or
> comma's in the string I get parse errors. I can get it to print
> SaturdayJune082002 with <? echo date (lFdY); ?> I have tried escaping with
> \ but it seems to make no difference.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php