-------------------------------------------
goods_class
id goods_class_name sort
1 水果 1
2 蔬菜 3
3 肉 2
-------------------------------------------
-------------------------------------------------------
goods
id goods_name goods_class_id sort
1 苹果 1 1
2 梨子 1 1
1 白菜 2 2
1 鸭肉 3 1
1 萝卜 2 3
----------------------------------------------------
读取出分类列表,在读取出商品归属的分类,
在html里面显示出来
怎么弄呢
最佳答案