直接用sql語法
SELECT * FROM table_name ORDER BY RAND() LIMIT 5;
arrow
arrow
    全站熱搜

    kevin0523 發表在 痞客邦 留言(0) 人氣()