摘要:
from:http://www.wangzhengdong.com/blog/mysql_fetch_object-mysql_fetch_row-mysql_fetch_array.html<?php$link=mysql_connect(’localhost’,'root’,”);mysql_select_db(’abc’,$link);$sql = “select * from book”;$result = mysql_query($sql);while($row = mysql_fetch_row($result)){echo $row['cid'].’ 阅读全文