I am building an eCommerce website and I really new to PHP and MYSQL but loving the challenge.
On my website I have 9 different categories of products with each page having about 8 items to sell. Rather than duplicating the code from each .php/.html file into a new file and change the SQL query, is it possible to write a script that says when the user clicks on category1 in the navigation bar, show all the products in category1?
Hope this makes sense.
Thanks in advanced.