I'm trying to write SQL to delete records, but the records never get deleted. Am I using the wrong $db function?
Here is a sample of my code:
PHP Code:
$db->query_write("
DELETE FROM keyclassic16
WHERE thekey='".mysql_real_escape_string($_GET['key'])."'");
Anyone have any ideas? I verified the query string variable does use a value that exists in the table.
Thanks in advance.
--------------- Added [DATE]1379102813[/DATE] at [TIME]1379102813[/TIME] ---------------
I figured out my own problem. Thanks.