php - Change color of a word in a text entry area? -


i'm working on website questions/responses , have problem. have word in :

$first_word

and textarea :

$answer .= '<div rel="tooltip-forced" title="'.$answertooltip.'"><textarea x-speech="true" class="textarea' . $kpclass . "\" $readonly type=\"text\" placeholder=\"votre réponse\" size=\"$tiwidth\" name=\"$ia[1]\" " . "id=\"answer{$ia[1]}\" rows=\"" . $drows . "\" cols=\"" . $tiwidth . "\" maxlength=\"" . $maxsize . "\" " . $readonly . " >" . $answer_content . "</textarea></div></div>"; 

. on

$answer_content

in textarea have sentence have wrote , appear again in textarea after submit button. want way color word in

$first_word

after submit. know it's not possible textarea, way want ? :)


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -