我想在那里条件如何使用WHERE条件
这是我的查询
$qry="select * from product_tbls where category_tbls_id=".$data["0"]["product_tbls"]["category_tbls_id"];
我知道这正常显示使用ORDER我的产品BY RAND()使用ORDER BY RAND()工作查询,而我想用WHERE条件
where条件$qry="select * from product_tbls ORDER BY RAND() LIMIT 0,6;";
但
Thanx提前。
排序无关紧要。语法是'select ... from ... where ... order',无论您按照什么顺序排列。 –
你遇到了什么问题? – urfusion
对于heavyans而言。 **尝试**如果它不工作**看手册** – RiggsFolly