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?
|