RE: [PHP-WIN] date function works, font color?

From: Date: Sat, 26 Mar 2005 02:53:47 +0000
Subject: RE: [PHP-WIN] date function works, font color?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-25792@lists.php.net to get a copy of this message
> I am using: <?php > print date("D dS M,Y h:i a"); > ?> > in my html code which displays the following in black: > Fri 25th Mar,2005 08:24 pm > > How can I change this to white and center it in a table cell? print "<table><tr><td align=center><font color=FFFFFF>".date("D dS M,Y h:i a")."</font></td></tr></table>"; Just print out the HTML that you need. That simple. > Thanks in advance. n/p

« previous php.windows (#25792) next »