Parse error: syntax error, unexpected $end in C:\xampp\htdocs\login_test\register.php on last line
2nd question. what is different between name, class, and id? if i just use id will it make difference?
<form action="register.php" method="post">
<p id = "reg_error"></p>
Firstname: <input class = "text" type="text" name="firstname"><br>
Lastname: <input class = "text" type="text" name="lastname"><br>
Username: <input class = "text" type="text" name="username"><br>
<!-- HINT -->
<p class="hint">20 characters maximum (letters and numbers only)</p>
Password: <input type="password" name="password"><br>
<!-- HINT -->
<p class="hint">20 characters maximum (letters and numbers only)</p>
Confirm your password: <input type="password" name="confirm_password" size="30"><br>
<!-- HINT -->
<p class="hint">20 characters maximum (letters and numbers only)</p>
Email: <input type="text" name="email"><br/>
DOB:
<input type='text' name='dob_year' maxlength='4' size='3' value='YYYY'> /
<input type='text' name='dob_month' maxlength='2' size='1' value='MM'> /
<input type='text' name='dob_day' maxlength='2' size='1' value='DD'> <br/>
Gender:
<select name="gender">
<option>Female</option>
<option>Male</option>
</select>
<input type="submit" value="Register">
</form>