javascript - Login and Create Account HTML Forms in One Div -
i have 2 forms specified in 1 div. 1 login , other create account. login form works create account button gives login error though call create-account.php file. below have code. the login create / account forms <?php include('login.php'); // includes login script if(isset($_session['login_user'])){ header("location: index.php"); } ?> <!doctype html> <html> <head> <title>login</title> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <div id="main"> <div id="login"> <h2>login form</h2> <form action="" method="post"> <label>username :</label> <input id="name" name="username" placeholder="username" type="text"> <label>password :</label> <input id="password" name="password" placeholder=...