//If the user has submitted the form
if (!isset($_POST['Submit']) || ($_POST['Submit'] != 'Register')){
//protect the posted value then store them to variables
$username=($_POST['username'])
$password=($_POST['password'])
//Check if the username or password boxes were not filled in
我似乎无法修复我遇到的这个错误?ErrorException[解析错误]:语法错误,意外的"$password"(T_VARIABLE(
尝试此
//If the user has submitted the form
if (!isset($_POST['Submit']) && ($_POST['Submit'] != 'Register')){
//protect the posted value then store them to variables
$username=($_POST['username']);
$password=($_POST['password']);
//Check if the username or password boxes were not filled in
分配后缺少分号
$username=($_POST['username']);
$password=($_POST['password']);