摘要:
1 代码: 2 //1.得到mysqli连接 3 header("Content-type: text/html;charset=utf-8"); 4 $mysqli=mysqli_connect("localhost","root","root","test"); 5... 阅读全文
摘要:
1 connect_error);10 }11 //2.操作数据库12 $sql = "select * from user";13 $res = $mysqli->query($sql);14 // var_dump($res);15 //3.处理... 阅读全文
摘要:
1 2 3 4 5 轮播器 6 74 117 118 119 120 121 <122 >123 图片正在加载~~ 124 请稍后~~125 126 127 128 阅读全文
摘要:
1 ";15 for ($i=0; $i $file_name";19 }20 echo "";21 22 // echo "";23 //取出行信息24 while ($row = mysql_fet... 阅读全文
摘要:
1 conn = mysql_connect($this->host,$this->root,$this->password) or die('连接数据库失败'.mysql_error());21 mysql_select_db($this->dbname);22 ... 阅读全文