Home > Backend Development > PHP Tutorial > 分类ID和商品名称在两个表里,小弟我怎么能按分类取出商品并且按str排序

分类ID和商品名称在两个表里,小弟我怎么能按分类取出商品并且按str排序

WBOY
Release: 2016-06-13 12:30:34
Original
821 people have browsed it

分类ID和商品名称在两个表里,我如何能按分类取出商品并且按str排序
数据表A里
id goods_id 商品ID      category_id 商品分类ID

数据表B里
id   name 商品名称          str排序


我如何能按分类取出商品并且按str排序

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template