Updated the Delete command in the core.php file
This commit is contained in:
parent
dcb2088be3
commit
cd6962e9e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue