Normally you would setup a product listing page where you list each item along with its product code and a button that passes that product code (via a form or via javascript function) to a second PHP page where it then uses that product code to list the product details on the page.
As for examples of this, look around for articles that discuss passing data from one page to another. That is the heart of your solution. Your product listing page will pass a product id to the second page which uses that to lookup the product details and present them in a detailed page. Two pages to setup the entire thing.
Below is one good site for showing you this... be sure to click the next page link towards the bottom to see some examples of how to pass data between pages using PHP.
Passing data between pages with PHPLet us know if you have any other questions.