PHP: get mysql table checksum