$supportwords = mysql_query("SELECT * FROM `support` ORDER BY `sort` ASC
想問一下每個數據都有一個 type 字段(當作是分類)我如何讓他排列sort同時,能夠把若是type一樣的都擺在一起?就是顯示出來不會每個 type都不太一樣
ringa_lee
伪代码:
$type = '你的类型'; $supportwords = mysql_query("SELECT * FROM `support` where type='$type' ORDER BY `sort` ASC");
伪代码: