你用mysql_fetch_array這個函數試試看。 將你的for迴圈,改成while($row= mysql_fetch_array($result))
tw.knowledge.yahoo.com