Updated the Delete command in the core.php file

This commit is contained in:
jpsider 2017-09-17 10:58:03 -04:00
commit cd6962e9e4

View file

@ -37,7 +37,7 @@ switch ($method) {
case 'POST':
$sql = "insert into `$table` set $set"; break;
case 'DELETE':
$sql = "delete `$table` where id=$key"; break;
$sql = "delete from `$table` where id=$key"; break;
}
// execute SQL statement