Re: change the font color of a string variable in PHP

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

 




Chris Ramsay <raz.net@xxxxxxxxx> wrote:On Fri, 18 Mar 2005 09:42:13 +0000 (GMT), babu wrote:
> Hi all i am newbie,
> 
> I have a php code like this
> 
> > foreach($_SESSION['history'] as $item) {
> $item = str_replace(";","",$item);
> 
> echo "$item";
> //echo "$item";

If I understand your question, you are wanting to change the text
colour of an option item...

Do this with css classes...

Cheers

> }//foreach
> ?>
> 
> I want to set the color of the srting in $item.
> Are there any PHP functions available.
> 
> Thanks
> babu.
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>

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



Send instant messages to your online friends http://uk.messenger.yahoo.com 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux