Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 26th, 2006, 02:25 PM
Registered User
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default TEXTAREA tag in html

 Hey guys...I want a pre-defined value for the TEXTAREA tag in html.

    echo "<TEXTAREA name='sequence' cols=60 rows=6>$seq</TEXTAREA>" ;

In the code above...I'm setting the value of this TEXTAREA tag as $seq.

Now, I want a multi-coloured output meaning I want a few letters in that $seq to come out highlighted in red.

I want to compare this $seq with another array and see if the elements match. If any elements match, then I want the matched elements to come out in red.

How can I do this? Does anyone have any idea?

Similar Threads
Thread Thread Starter Forum Replies Last Post
write HTML into TEXTAREA using PHP anshul PHP How-To 6 March 27th, 2009 12:15 PM
HTML tag from C# or ASP.NET tag from javascript angshujit ASP.NET 2.0 Basics 3 February 16th, 2007 10:07 AM
HTML tag vs Body Tag CFGerry BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 October 7th, 2005 07:13 AM
html textarea to DB ginoitalo Beginning PHP 1 May 30th, 2005 01:49 AM
ASP and textarea tag chmosiii Classic ASP Professional 2 February 21st, 2005 12:45 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.