11
ghia
Re: Help with a php function for my project
  • 2010/2/17 20:51

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It says to use only one list.
Or you make for every category the product list in PHP and output that everytime to the template.
Or you make a combined sorted list with category and product data in it and output that to the template which then checks changes in the category data to insert a category header.
In general, I think the first method is the more efficient.
le="color: #000000"><?php { $stat['qty']=$row['total_qty']; $stat['p_name']=$row['p_name']; }

12
kaotik
Re: Help with a php function for my project
  • 2010/2/18 0:20

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


send me a pm with the username you registered at dev.xoops so I can add you.

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!