Make and delete course converted to mysqli