摘要: 最基本的连接,输出$conn=mysql_connect('localhost','root','');//mysql_query("SETNAMES'gbk'",$conn);mysql_select_db('sim',$conn);$strSQL="select*fromsim_stui_nfo";$rs=mysql_query($strSQL);if(($num=mysql_num_rows($rs))>0){$row=mysql_fetch_array($rs) 阅读全文
posted @ 2011-12-23 11:00 derrck 阅读(4671) 评论(0) 推荐(0) 编辑