不好意思最近在學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