You are here: Re: [PHP] change the font color of a string variable in PHP « PHP « IT news, forums, messages
Re: [PHP] change the font color of a string variable in PHP

Posted by Chris Ramsay on 03/18/05 11:47

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

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
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация