I did put it in and still got this error message after testing,
<?php
$sql2 = "INSERT INTO members (firstname, lastname, state, email, username, password, signupdate) VALUES ('$firstname', '$lastname', '$state', '$email', '$username', '$password', NOW())";
?>
Fatal error: Unable to perform insert query in C:\xampp\htdocs\register.php on line 34