<?php
$con = mysql_connect("***","***","***") or die('Could not connect: ' . mysql_error());
$dbconnect = mysql_select_db("***", $con) or die ("could not connect to database: " . mysql_error());
if($_SESSION['username']=="***")
{
if ($_POST['title'] && $_POST['description'])
{...