但是这个id不是for循环出来的
是随机产生的啊,另外一个页面又不知道具体的题号是多少
$query = "select * from prob order by rand() limit n";
$result = $db->query($query);
$num_results = $result->num_rows;
for ($i=0;$i<$num_results; $i++){
$question=$row['number'];
这么随机产生的,近乎无序的id
【 在 mOK (漠漠) 的大作中提到: 】
: 你一个页面很多道题吧
: 总得有个题目id吧?
: 在radio 那里令name=question_$id value分别=a,b,c,d
: ...................
--
FROM 59.66.173.*