Hello Community,
I followed some tutorials about creating a php login form and I not getting the login to work properly. I' m using wordpress 3.9, a Revera Child theme and have the template properly installed in MySQL database. I have an init.php, connection.php, login.php and all other necessary functions that I know of but can't seem to get the login.php to be called as the "action" portion of my form.
Please advise and thanks in advance.
Here is my code:
<form role="form" action="login.php" method="post">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email" name="email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password" name="password">
</div>
<a class="btn btn-merchants btn-lg" href="http://flavorping.com/sign-up/">Not a member? Join Us</a>
<button type="submit" class="btn btn-primary">Log In</button>
</form>