I'm very new to PHP. I'm trying to insert some values into a database so I'm using PHP and MySQL but I'm struggling to concatenate the following string. I keep getting the error "unexpected T_CONSTANT_ENCAPSED_STRING" for the following line no matter where I place the "."-
$query "INSERT INTO users(user_name, email_address, password)
VALUES ('".$user_name."','".$email_address."','".$password."')";
Any help would be much appreciated!