Your submission should now appear within the contents of the database. Click here to view all database contents."; $host="localhost"; $user="nealc"; $password="Removeme"; $database="wckn_nealc"; $linkID = mysql_connect($host, $user, $password) or die(mysql_error()); $db = mysql_select_db($database, $linkID); $query1 = "delete from pageContent where titleOfPage='$_POST[titleOfPage]'"; $result1 = mysql_query($query1) or die(mysql_error()); $query2 = "insert into pageContent (titleOfPage, description) values ('$_POST[titleOfPage]', '$_POST[description]')"; $result2 = mysql_query($query2) or die(mysql_error()); ?>