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

2005-03-18 Thread Chris Ramsay
Babu, > but it doe not work can you pls tell me. for example you can define 'red' as a css class either in the head of your document output (within

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

2005-03-18 Thread babu
Hi chris, i am using mssql and php, so i trying to get the query result when the user enters the query and submits the execute button. i want to differentiate the syntactically correct query and the incorrect query with differ colors. here i am posting my code if (-1 == $connection)

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

2005-03-18 Thread Chris Ramsay
Babu, Check out: http://www.trans4mind.com/personal_development/StyleSheets/formElements.htm or google http://www.google.com/search?hl=en&q=option+text+colour&meta= HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2005-03-18 Thread babu
Chris Ramsay <[EMAIL PROTECTED]> wrote:On Fri, 18 Mar 2005 09:42:13 + (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 ques

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

2005-03-18 Thread Chris Ramsay
On Fri, 18 Mar 2005 09:42:13 + (GMT), babu <[EMAIL PROTECTED]> 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 a