This library will allow you to continue using mysql functions after upgrading your PHP version that removed mysql methods.