[code]How would I disable html and make tags like they have on the forums for my comment script? Like if i wanted <b> to be [bold] ect.[/code] Currently this is the code I need to implement this into: [code]<head> <title>Comment Page</title> </head> <body> <?php // comment.php include 'displaycomments.php'; //error handeling ini_set ('display_errors', 1); error_reporting (E_ALL & ~E_NOTICE); if (isset ($_POST['submit'])) {//handel the form. //connect and select db if ($dbc = @mysql_connect ('localhost', 'thegamegraal', '*******')) { if (!@mysql_select_db ('battleroyalex')) { die ('<p>Could not select the database because: <b>' . mysql_error() . '</b></p>'); } }else { die ('<p>Could not connect to mysql because: <b>' . mysql_error() . '<b></p>'); } // Define query $query = "INSERT INTO comment_entries (comment_id, name, comment, date_entered) VALUES (0, '{$_POST['name']}', '{$_POST['comment']}', NOW())"; //run query if (@mysql_query ($query)) { print '<meta http-equiv="refresh" content="0"><p>your comment has been added.</p>'; }else { print "<p>could not add comment because: <b>" . mysql_error() . "</b>. The query was $query.</p>"; } mysql_close(); } ?>[/code]