$oSubscriber->save(); // redirect after adding new page successfully to that new location header("Location:loginSignUp.php?message=created"); // will prompt message to come up exit; // terminates request } } // form markup: $oForm2->makeInput("firstName", "First Name *", "doubleColumn heightApplied floatLeft"); $oForm2->makeInput("lastName", "Last Name *", "doubleColumn heightApplied floatLeft"); $oForm2->makeInput("username", "Username *", "doubleColumn heightApplied floatLeft "); $oForm2->makeInput("email", "Email *", "doubleColumn heightApplied floatLeft "); $oForm2->makeInput("address", "Address *", "doubleColumn heightApplied floatLeft "); $oForm2->makeInput("telephone", "Telephone *", "doubleColumn heightApplied floatLeft"); $oForm2->makePassword("password", "Password *", "doubleColumn heightApplied floatLeft"); $oForm2->makePassword("confirmPassword", "Confirm Password *", "doubleColumn heightApplied floatLeft"); $oForm2->makeCheckBox("newsSignUp", "Subscribe to the Get in my Belly Newsletter"); $oForm2->makeSubmit("create", "Create", "blueButton2 bgBlue marginBottom10"); ?> <h1 class="textAlignCenter marginBottom30">User Login</h1> <!-- login form --> <div class="mainForms eight columns floatLeft marginBottom50"> <h2 class="formHeader paddingTop10 paddingBottom20">Login</h2> <?php echo $oForm1->HTML; ?> </div> <!-- sign up form --> <div class="mainForms2 eight columns floatLeft marginBottom50" >