Using a MySQL database, I add users to the database like this test data:
INSERT INTO `database_users`.`Members` (`ID`, `Username`, `Password`,
`First Name`, `Last Name`, `Email Address`, `Telephone Number`,
`Address Line 1`, `Address Line 2`, `Town/City`, `Postcode`,
`Mailing-list`, `Terms`) VALUES (NULL, 'Test', '', '', '', '', '', '',
NULL, '', '', NULL, '');"
My HTML form looks like this:
<input type="submit" value="Join!">
<div class="col-lg-6">
<input type="text" placeholder="Town/City" id="Town/City">
</div>
<div class="col-lg-6">
<input type="text" placeholder="Postcode" id="Postcode">
</div>
</input>
I am looking to submit the form on my website and have the data upload to my MySQL database. Can anyone advise on what I am missing from my form?