Hi there, can someone tell me how to display code as plain text on an html page? I've tried using <PRE> and <TEXTAREA> but that isn't working. <LI> is still transformed into a bullet, and other things like that keep happening. <TEXTAREA> just makes it look really messy.
Basically, I want something exactly like this:
<?
if (isset($_POST['submit'])) {
echo "This is exactly what I want to do.";
} else {
echo "Dangit. I can't figure it out.";
}
?>