Database Comparison - checking if tables are missing or not between two databases, written in php