[PHP] Re: displaying var in textarea

2003-10-10 Thread Ben Duffy
"Ben Duffy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I have a var: > > $test = 'echo \'test\';'; > > > > If I display this in a textearea like so: > > echo " > name=\"action\">\n" > > .$test >

[PHP] Re: displaying var in textarea

2003-10-10 Thread Ben Duffy
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a var: > $test = 'echo \'test\';'; > > If I display this in a textearea like so: > echo " name=\"action\">\n" > .$test > ."\n"; > > In the browser and in the HTML source I see (no slashes): > echo 'test'; > > Eve