Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<form method="POST" action="" />
<textarea name="nl2br"></textarea>
<input type="submit" name="submit" value="Добави"
<?php
if($_POST['submit'])
{
$nl2br = nl2br($_POST['nl2br']);
if($nl2br == NULL)
{
echo 'Попълни всички полета';
}
else
{
mysql_query('INSERT INTO nl2br (`nl2br`) VALUES ("'.$nl2br.'")');
echo 'Стана !';
}
}
?>