Hello Scott
This is what I've come up with from my limited knowledge of PHP , which at the moment comes up with PARSE errors , can you point me in the right direction on how to call the script from the form:
<?php if ($test) {
$search = array ("<script>","</script>")
$replace = array ("<!--<script>","</script>-->")
for ($i = 0; $i<2; $i++)
{ $savecode = str_replace($search[$i], $replace[$i], $outcode);
}
echo $savecode; ?>
<?php } ?>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form name="test" action="<? $PHP_SELF ?>?test=1" method="post" >
<textarea name="test" rows="8"></textarea>
<input type="submit" name="Submit" value="Submit">
</form>
</body>
Any additional help you can give would be great!
John