Create page without a link to it

Still not sure what you want but you can just write a MySQL query on a php page and not link to it from any where. You are going to need some html to display the data; whether it is in the database or the php code.

To view the page you would input the URL directly into the address bar of your browser.