Google Interview Question

Write a script in PHP to access MySQL and extract all data (both tables) into basic HTML.