I have a PHP page as a HTML form back-end. The HTML form sends data to the PHP page via POST method and I want the PHP page to store data to a MySql database.
I tried the following codes but neither seems to actually update the dbase. The database has no password set.
(1) Storing the data to...