I have a var: $test = 'echo \'test\';'; If I display this in a textearea like so: echo "<textarea wrap=\"virtual\" rows=\"20\" style=\"width: 100%\" name=\"action\">\n" .$test ."</textarea>\n";
In the browser and in the HTML source I see (no slashes): echo 'test'; Even if I do an htmlentities($test); I see no slashes and the single-quotes are not shown in the HTML source as " Is this just a behavior of the textarea??? Thanks! -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php