The Issue:
Undefined POST variables after form submission.
Research and Troubleshooting Done:
Try This
register.php
query($testQuery) === TRUE)
{
echo "New Record Created Successfully!";
}
else
{
echo "Error: " . $testQuery . "
" . $conn->error;
}
$conn->close();
}
signup.php
SIDE NOTE ( If You Are Newbie )
Use method="post" instead of method="POST" (just standards)
You are not validating input fields (dangerous)