PHP and forms


if(isset($_POST['save']))

{

$title = $_POST['t itle'];

$content = $_POST['content'];

$content = trim($_POST['content']);
$content = nl2br($c ontent);
$contant = stripslashes($content);


if(!get_magic_quotes_gpc())

{
$title = addslashes($title);

$content = addslashes($content);


}

 

Article List