Is this a correct statement to delete a row in a table named "ad_data"?
mysql_query("DELETE FROM ad_data WHERE id = $_SESSION['id']");
The connection is open.
$_SESSION['id'] echo's as 220 which is correct.
id is the primary auto indexed variable.
I have written to ad_data many times but this is my first attempt to delete
a row. I know the database is working.
Is there a permission to delete that must be set. I could not find a means
of setting permissions for the table.
Thanks for the help.
Ken