PHP - Loop through UNION ALL query and separate items by category

前端 未结 0 1194
旧时难觅i
旧时难觅i 2021-01-23 19:58

I have a union query which joins several categories.

The query goes like:

SELECT Item FROM table WHERE category = 1 LIMI 10
UNION ALL
SELECT Item FROM tabl         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题