search

Home  >  Q&A  >  body text

There are multiple products under multiple categories. How to arrange them in a circular manner by category?

I now have two tables, a category table and a product table. There is a field in the product table to record which category it belongs to. Now I want to display multiple categories from top to bottom on one page. Below each category Display his products. After the products are displayed, the next category is displayed. I feel that I see this often but I can’t think of how to write the SQL statement and html

葫芦娃平衡盘葫芦娃平衡盘2288 days ago1391

reply all(1)I'll reply

  • 神沐

    神沐2018-11-09 14:21:45

    1541744431(1).jpg

    Just add variables and styles

    reply
    0
  • Cancelreply