concatenation if I’ve fields as id
name
user_name
email
password
date
you should keep the id null
or blank. you can concatenate variable and string as " '.$name.' "
$sql = "INSERT INTO `work`.`user` (`id`, `name`, `user_name`, `email`, `password`, `date`) VALUES ('','$name','$user_name','$email','$password','NOW()');";