gwynn_aaron wrote in php

Doomed to keep asking for help

It seems like I'm doomed to ask for help on this site every few days. I can only hope that this is the last time and everythin will be resolved. The relevant page to view is here: products.php.

The pieces of code that you'll need to see can be found in these documents:
_formatting.txt
products_displayBrand.txt
products_displayProduct.txt

The first one is a file which gets included in all of the pages while the other two are the pages themselves.

The problem

From the page products.php click on the first [blue] link, which should take you to products_displayBrand.php?brand_id=1. Immediately below the link you just clicked on you'll see that there are now two, light blue links. Now click on one of those light blue links and you'll see a new page. This is all as it should be, but what is not is that clicking on either link pulls the same information from the database, rather than two different sets. This may not be readily apparent, but if you look at the name of the product you'll see that both links take you to the information for Mix #2. So what I need help figuring out is how to get these links behaving right--as in drawing the correct information from the database based on their unique product_ids.

Pleading

Please have a look at my problems and what I've done so far. I've spent the last eight or nine days working on all of this (with the help of several very kind people here) and my boss is starting to get antsy. I need to try to have these problems worked out as soon as possible and I've exhausted my knowledge of PHP to get to where I am now. Thank you.