Can anyone see anything wrong with this. Im stuck :(
$sql1 = mysql_query("DELETE FROM spider WHERE url='$addtolist'");
if (!mysql_query($sql1,$con))
{
die('Error Deleting: ' . mysql_error());
}
echo "Record Deleted <br />";
$sql2="INSERT INTO list (title, url, description)
VALUES
('$title','$url','$description')";
if (!mysql_query($sql2,$con))
{
die('Error Adding: ' . mysql_error());
}
echo "1 record added";