Updating Order Quote functions for mysqli contstructs