當(dāng)前位置:首頁(yè)
> php讀取mysql數(shù)據(jù)代碼
php讀取mysql數(shù)據(jù)代碼(php訪問(wèn)mysql數(shù)據(jù)庫(kù)函數(shù))
1、rs = mysql_query$q, $dbhwhile$row = mysql_fetch_array$rs echo quot$rowid $rowname quot* id和name可以換位置 * mysql_close$dbh* 關(guān)閉到mysql數(shù)據(jù)庫(kù)的連接 * ? 方法二lt?rs...