Save line breaks (in database)
<p>Is there any possibility in PHP to save new lines in an textarea into a sql database?</p>

<p>I mean without typing in html commands like br ?</p>

<p>If not, how its done here? And how i can install it into my programm?</p>

<p>Thanks for help!</p>

<pre><code>$descriptionraw = mysqli_real_escape_string($conn, $_POST['setdescription']);
$description = nl2br($descriptionraw);
</code></pre>