Howdy... 🙂
I think what I am using is appropriate but I am not able to use it in PHP...
When I try this line in phpMyAdmin, I get to see the row deleted...
DELETE FROM someTable WHERE id=8
But I am not able to get it working when I tried the same thing in PHP...
$sql = mysql_quary("DELETE FROM $DBTable WHERE id=" . $_POST['id'])
or die("&error=Can't Delete from record!");
$DBTable and $_POST['id'] are all valid when I test it, but I get this error message...
Fatal error: Call to undefined function: mysql_quary() in /home/cust1/user1055425/html/delete.php on line 9
Anybody can give me some pointer on this???
Thank you very much... 🙂