Hi, I am new to PHP.
I am want to create a page on my website where my client can register with his information and the same should be added to the database directly, like name, contact number. I have already prepared my database and table in myPHP admin. Since I am new to PHP (only basic information I am aware about) I referred to youtube videos, to connect my page with the database with the help of dreamweaver, I did it correctly but I was unable to connect. I contacted my web hosting provider (one.com) who said direct connection is not possible, I have to create a page with the following code and add it via require on my page
$db=mysql_connect("yourdomain.com.mysql", "username", "password");
mysql_select_db("database", $db);
I am new to it and I do not know how to make this page, according to web hosting provider this is easy as the values can be directly added to the database without exrernal connection.
Can anybody spoon feed me on this, I do not know coding, whatever help you will provide I will cut copy it (though I can apply some basic understanding as I learnt basic PHP in school)

