Because your SELECT
element is named "title," it will be represented as $_POST["title"]
when it arrives to the backend script:
$title = $_POST['title'];
Also, your query needs to be corrected:
$sql = "DELETE" . $title . "FROM pageTitle";
Should be:
$sql = "DELETE FROM tableName WHERE title = '{$title}'";
Jonathan Sampson
2010-01-22 04:14:23