There is a textarea in my page. I type a text in the textare and then in the script there is:
$text = nl2br(htmlentities($_POST['text']));
Now what is the problem?
When i type:
It will be sent to db and will be printed, in both place as:
What is the solution for that?