create login form in php
hi,
Please follow these steps
1. Create a login form in html
2. give it an action say xyz.php
3. in xyz.php file check if the form is submitted using $_POST
4. Validate the values with the database by following query
select * from users where username = $_POST['user'] and password = $_POST['pass']
if data is returned from the above query.
then login success else false.
Thanks
CoreIT developers
|