Update query.php

So basically the gist of the project is done.
If you have all the tables loaded.
This code will give meaningful result to a 
query like
select * from Actor;//Basically all info from actors.

The formatting a couple of other things should be left.
Should not be too complicated from here :)