For my very simple registration page, I designed a very simple code for registration:
- one textfield to enter the desired registration name
- and one button to submit it and run the phpscript which connects to sql
But for some reason the button is dead. Clicking on it doesnt do anything.
If i enter a name however and press enter w. keyboard, the code runs fine...
what am i missing?
thank you in advance for your help!!
<form action="#" method="post">
<div class="register">
<input type="text" placeholder="username" name="name" class="field required" />
<input type="button" value="register" />
</div></form>
<?php if(!empty($_POST['name'])): ?>
.
.
.
go on