quadrant6
11-07-2006, 08:07 PM
I have a site containing the following pages:
item-list.php A list of categories & products
item-details.php Details for the selected product
Pretty standard really, MySQL is behind the scenes holding the data for all products. When you click on an item from item-list.php, the URL will be along the lines of:
item-details.php?item=TOQ (passes unique item code)
My problem is that in the webstats, instead of showing each url that gets hit like this, it simply shows tons of hits on item-details.php so we have no indication of which products are getting hit most.
Of course, I could have a separate file for each product but that would sort of defeat the purpose of using a database. Does anyone have any suggestions?
item-list.php A list of categories & products
item-details.php Details for the selected product
Pretty standard really, MySQL is behind the scenes holding the data for all products. When you click on an item from item-list.php, the URL will be along the lines of:
item-details.php?item=TOQ (passes unique item code)
My problem is that in the webstats, instead of showing each url that gets hit like this, it simply shows tons of hits on item-details.php so we have no indication of which products are getting hit most.
Of course, I could have a separate file for each product but that would sort of defeat the purpose of using a database. Does anyone have any suggestions?