Hope all is going well. Seems ages since I last posted on the forum, hopefully this means my php & sql knowledge is improving! I wondered if you might be able to help me with some code that I’m stuck on. I’m going to add two additional index pages to one of my sites so that I can show separate featured product pages by gender. I already have a ‘gender’ field in my dB. In addition to the two additional index pages, I originally also planned to create two additional versions of featuredproducts.php. Currently my featured products are set firstly from the featured table and then from high discount products using the code below:
I wondered if you could suggest if there might be a way to have the two extra index pages that I originally planned but then to only have one version of featuredproducts.php where the gender would be set by specifying an additional variable in the index page (in the same way as the $featuredproducts_category variable is set?
Thanks in advance.