get_record('course', array('id'=> $id))) { print_error('Course ID is incorrect'); }