PHP-Code:
<?php
$body = mysql_escape_string(stripslashes(htmlentities($_POST['BODY'])));
?>
Danke!
<?php
$body = mysql_escape_string(stripslashes(htmlentities($_POST['BODY'])));
?>
<?php
$body = str_replace("
", "\n", mysql_escape_string(str_replace("\n", "", str_replace("\r", "", nl2br(stripslashes(htmlentities($_POST['BODY'])))))));
?>
Einen Kommentar schreiben: