Note: email address structure is local-part@domain
.
For example I am asking user to provide his email:
<label>Your Gmail:</label><input type="email" name="emailaddress"><label>@gmail.com</label>
But instead of letting him/her type the complete email address (e.g. user@gmail.com), I want to let user type only local-part without domain. But how can I send this email to MySql database now? Basically I need to append custom input to @gmail.com
every time user submits the form. For example, records in my database would look like user1@gmail.com
, user2@gmail.com
etc.
Can anyone help?