This is my code
$result = msqli_query($this->db,$sql1) or die(mysqli_connect_errno()."Data cannot inserted");
this is the error message
Parse error: syntax error, unexpected '$result' (T_VARIABLE) in C:\xampp\htdocs\project\class.user.php on line 25