Data saving is another method of PHP programming in which you should have knowledge about connection file, MYSQL inserts query and HTML form then you will be able to save or insert database into the MYSQL database using PHP. I have checked your code and want to say about your query and connection. You are getting errors from your connection code because dB pass is not correct with empty value. I think you are getting errors or your server is not displaying any errors. You are missing a double quotation mark.
$dbpass = '' ";
I can check that you are using single quotes. The standard of PHP says you use a single quotation mark.
$dbpass = ' ';
If you want to save HTML form data into MySQL database using PHP then you should use the INSERT query. I think you have an id auto-increment.
The same pattern is missing here. Let's discuss it. I think you are missing a single quotation mark in your query.
$result = mysqli_query($mysqli,"INSERT INTO record VALUES (' ','$name','$email','$mobile','$date')");
Now, check your code and make it correct and execute.
I have other tutorials for you.
Insert data and display in HTML table using PHP
Insert(Signup) form in PHP
https://technosmarter.com/qa/514/how-to-insert-html-radio-button-value-in-database-using-php-with-mysql