I think I must be blind ;)
$Title = $_POST['title'];
$Category = $_POST['category'];
$Content = $_POST['article'];
$Tags = $_POST['tags'];
$Description = $_POST['description'];
//error below...
$Title = addslashes($Title);
//error above...
$Category = addslashes($Category);
$Content = addslashes($Content);
$Tags = addslashes($Tags);
$Description = addslashes($Description);
I declared title the first time... $Title = $_POST; ... no problems. Then I declare it again and I get the Undefined variable error. All of the other variables work just fine. What's the problem?