$result=mysql_query("select kind from fkind",$db);
while ($myrow=mysql_fetch_row($result)){
printf(" %s<br>",$myrow[0]
}注意由mysql_fetch_row返回的数组只有下标sql_result($result,0,"kind"));将使结果集指针回绕到记录集开始,所以造成死循环
while ($myrow=mysql_fetch_row($result)){
printf(" %s<br>",$myrow[0]
}注意由mysql_fetch_row返回的数组只有下标sql_result($result,0,"kind"));将使结果集指针回绕到记录集开始,所以造成死循环
while ($myrow=mysql_fetch_row($result)){
printf(" %s<br>",$myrow[0]);
}