diff --git a/register.php b/register.php index cfa4b50..48196a4 100644 --- a/register.php +++ b/register.php @@ -3,14 +3,16 @@ connect_errno){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } -if (is_null($newuser)){ +if (empty($_POST['reguser'])){ // this block contains the code to fill out the form echo '
'; include_once ('includes/account-registration.php');