RE: date function works, font color?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux