Hello,

I have a mysql database that resides on a folder on my domain called 'datab'. This database has fields that are identical in name to the fields that I created in an html form (firstname, lastname, address, etc.)
How can I add records from the html form to the database? Where does the PHP code that I create reside, in the root directory of my domain, or in the folder datab?

How can I retrieve the records from this database so that I can later export them to Excel?

any help would be most appreciated

thank you