I want to make editing a template in the database.
I have a variable [data.dir] let it stored the path to images (/images/)
and there is a textarea
TPL:
<img src="[data.dir]123.jpg">
<textarea>[data.dir]</textarea> |
Output:
<img src="/images/123.jpg">
<textarea>/images/</textarea> |
How do so in the textarea variable is not out?
<img src="/images/123.jpg">
<textarea>[data.dir]</textarea> |