<form action="test1.php"> <textarea name="t1"> <!-- Start of StatCounter Code --> <script type="text/javascript" language="javascript"> var sc_project=1885220; var sc_invisible=0; var sc_partition=17; var sc_security="912c4488"; </script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c18.statcounter.com/counter.php?sc_project=1885220&java=0&security=912c4488&invisible=0" alt="free web hit counter" border="0"></a> </noscript> <!-- End of StatCounter Code --> </textarea> <input type="submit" value="submit"> </form>
<? print $t1; ?>
Why doesn't that work?
Why doesn't what work?
Well, for one thing, like any other chunk of text being inserted into HTML, it has to be escaped with htmlspecialchars()....