Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $username = $_POST["username"];
- $email = $_POST["email"];
- $password = $_POST["password"];
- $required = array(
- array('name' => 'User Name', 'value' => $username),
- array('name' => 'Email', 'value' => $email),
- array('name' => 'Password', 'value' => $password)
- );
- foreach ($required as $recrecord){
- if ($required[$recrecord]["value"] == NULL){
- $error = $error.' You have not inputed your '.$required[$recrecord]["name"].'</br>';
- }
- }
- if (!$error){
- include($_SERVER["DOCUMENT_ROOT"]."/kotel/config/signups_stage3.php");
- }
- else{
- print($error);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement