I have an app that reads a template data set that contains the page HTML, BUT also I use special thgins in the DB to print dynaic stuff.
e.g. if it comes across <<NAME>> it prints the users name there.
Okay, so I could just use str_replace..BUT..I have ones for form elements too and I want to have this:
<<TBODY COLS=60 ROWS=20 onmouseover=\"alert(\'Message!\');\">>
and have it convert it to:
<TEXTAREA NAME=text ID=text COLS=60 ROWS=20 onmouseover=\"alert(\'Message!\');\">