不好意思最近在学PHP连接数据库
上网找了很多资料但还是卡住了
不知道能不能请各位帮我简单看一下呢??
<?php
$dbhost = '127.0.0.1';
$dbname = 'mysql_test';
$con = mysqli_connect($dbhost,$dbname)
or die('Error with MySQL connection');
mysqli_query($con,"SET NAMES 'utf8'");
$sql = "INSERT INTO 'member'('Account_name','Account_password') VALUES
('".$_POST["Account"]."','".$_POST["Password"]."')";
$result = mysqli_query($con,$sql) or die('MySQL query error');
?>
最后网页还是呈现MySQL query error@@
附个图好了免得程式码这样不方便看
http://imgur.com/a/Qm8Dh