未添加数据
$user = array();
$user['First Name'] = $_POST['first'];
$user['Last Name'] = $_POST['last'];
$user['Username'] = $_POST['username'];
$user['Password'] = $_POST['password'];
答案 0 :(得分:2)
你的代码错了。
你需要使用这些:
$user = array();
$user['First Name'] = $_POST['first'];
$user['Last Name'] = $_POST['last'];
$user['Username'] = $_POST['username'];
$user['Password'] = $_POST['password'];