|
I think the problem lies in that you don't have the original value in the query quoted.
$db->query("DELETE FROM crystalmarket WHERE cmID='{$_GET['ID']}');
If you want the value to be numeric, I would skip the string escape and use:
$db->query("DELETE FROM crystalmarket WHERE cmID=" . (int)$_GET['ID'] . ");
or
$db->query("DELETE FROM crystalmarket WHERE cmID=" . intval($_GET['ID']) . ");
__________________
<mgraphic /> - I don't have a solution but I admire the problem.
|