<html> <head> <title> Comments submitted </title> </head> <body> <h3> Comments submitted: </h3> <h4> <?php $raw_user_input = $_POST["comments"]; $no_tags_version = strip_tags( $raw_user_input ); $encoded_version = htmlentities( $raw_user_input ); print "version with NO tags: <br>" . $no_tags_version; print "<hr>"; print "version with HTML characters encoded: <br>". $encoded_version; ?> </h4> </body> </html>