I guess with variables it is also possible, like:
But if you have only one string, the best way is like Destroy666 said.
$rowDel = "ST";
$db->delete_query('settinggroups', "name='".$rowDel."'");
//or
$db->delete_query('settinggroups', "name='{$rowDel}'");
But if you have only one string, the best way is like Destroy666 said.