I’m not that familiar with PHP & MySQL, so any help would be greatly appreciated. This is my HTML code:
<html>
<head></head>
<body>
<div class="username">
<input type="text" placeholder="Enter username:" id="username">
</div>
<div class="email">
<input type="email" placeholder="Enter email:" id="email">
</div>
<div class="create_account">
<button class="create_account_button" id="create">Create account
</div>
</body>
</html>
I want, when my ‘create_account’ button is clicked, username and email data is sent to SQL server. Can someone help me with this?
Thanks in advance.