Right now the SQL statement reads:
SELECT ... FROM ... WHERE ProductID = %s
If you remove the %s and replace it with a product ID it will only show that product instead of showing whichever one was linked in through the url.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.