bogus.php isn't something I can provide the code for. It would be part of your website. One of your own scripts that displays the contents of your database.
It 100% depends on your database, your content, and your site. The best example I could provide is from the PHP manual on how to connect to a MySQL database. See Example 1: