dedications

#1
i have sam broadcaster and i'm trying to enable dedications
now in this code were would i enable dedications


Code:
    if ($code != 200) {
        throw new Exception($message);
    }
} else { //If a request was already made, allow dedication to the request
    $data = array();
    $data['msg'] = strip_tags(Def('rmessage'));
    $data['name'] = strip_tags(Def('rname'));

    $db = Database::getInstance();
    $db->update('requestlist', $data, array('ID = ?' => $requestID, 'songID = ?' => $songID));