Forum Moderators: open
I want to put the code into a textarea so they can click copy paste into their site using onClick to highlight all. I have made 2 versions one as an iframe for html pages (works fine in textarea) the other a php include, incase they have a php page, this code actually calls the include page within the textarea, I dont want that to happen, I just want it to show the code as text.
How do I go about it, thanks in advance
If you are outputting your page with PHP, you can do this with a call to htmlspecialchars() to convert special characters into HTML entities.
[uk.php.net...]