I have this query and if it returns successful, I want another function to process, if not, do not process that function.Here is the code for running the query\[code\]global $DB;$DB->query("UPDATE exp_members SET group_id = '$group_id' WHERE member_id = '$member_id'");\[/code\]I imagine it is something like...\[code\]if($DB) { //success } else { //failure }\[/code\]