Skip to content

Commit cd6962e

Browse files
committed
Updated the Delete command in the core.php file
1 parent dcb2088 commit cd6962e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
case 'POST':
3838
$sql = "insert into `$table` set $set"; break;
3939
case 'DELETE':
40-
$sql = "delete `$table` where id=$key"; break;
40+
$sql = "delete from `$table` where id=$key"; break;
4141
}
4242

4343
// execute SQL statement

0 commit comments

Comments
 (0)