MySQL Schema: $db is not an instance of the vB Database class. This script requres the escape_string() method from the vB Database class.