mysql 進(jìn)入數(shù)據(jù)庫,mysql數(shù)據(jù)庫讀取數(shù)據(jù)?
要先連接服務(wù)器 ,再選擇數(shù)據(jù)庫mysql_connect("localhost","username","password")
;mysql_select_db("2007"); $sql=mysql_query("select * from news_news order by id desc"); $n=1; while(($row=mysql_fetch_array($sql)) && $n