670, 010 views

5, 025 Likes   439 Dislikes

How to Make Login Form in PHP and MySQL

OnlineITtuts Tutorials

OnlineITtuts Tutorials

Published on 3 years ago

Download Source Code

Today We Will Learn How to Make Login Form in PHP and MySQL. In this tutorial, you will learn how to make the connection and then we will learn how to match record text boxes with database columns values.

OnlineITtuts Tutorials cover many topics such as Web Designing, Web Development, Programming, Database, WordPress, Blogging, Google AdSense, Digital Marketing and TipsNTicks. I was made many videos for different categories, and I will share another helpful tutorial for different topics.

Follow Us on Facebook

Follow Us on Twitter

Follow Us on Pinterest

You Can Watch More Videos

HTML5 Tutorial For Beginners

Install WordPress on Localhost

Create a Google Form and Embed On Your Website

How to Embed Google Map on Your Blog

How to Verify a Website in Google Webmaster Tools

Comments :

Gowtham Bhat

Gowtham Bhat . 1 day ago

it's empty not empaty
Daham Wijekoon

Daham Wijekoon . 4 days ago

not working
Noman Ali

Noman Ali . 1 week ago

(Fatal error: Uncaught Error: Call to undefined function mysql_connect() in F:\naman\htdocs\php\login.php:6 Stack trace: #0 {main} thrown in F:\naman\htdocs\php\login.php on line 6) what to do?
azam fatima

azam fatima . 4 weeks ago

Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\Project\process.php on line 9
Shivayya Chandragiri

Shivayya Chandragiri . 2 months ago

This is not stored in database i am not getting output
Marthijn Berends

Marthijn Berends . 2 months ago

I don’t get you have succesfully logged in.... What’s the problem?
Md. Zakaria

Md. Zakaria . 2 months ago

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\php\login.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\php\login.php on line 8
Sk Saif

Sk Saif . 2 months ago

Bhaiya Hindi m he samjha diya Karo... English bolna jaruri nhi h
calvin yip

calvin yip . 3 months ago

help me please Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in D:\xampp\htdocs\Deepwave\customerlogin.php:7 Stack trace: #0 {main} thrown in D:\xampp\htdocs\Deepwave\customerlogin.php on line 7
Harraz Masri

Harraz Masri . 3 months ago

thank you my man :) , that works even tho I alter it and also you need to improvise in explaining functions with visual because i dont know what those functions are for
Let's Code With Abdul Rauf

Let's Code With Abdul Rauf . 3 months ago

Learn how to design login form in few minutes. Please click on link below for full tutorial. #webdesigner #loginform #html #htmlcoding #css #css3 #code https://youtu.be/SmIpTZKK3Sw
jem castillo

jem castillo . 3 months ago

Fatal error: Uncaught Error: Call to undefined function mysql_connect()
effort nwikegha

effort nwikegha . 3 months ago

Nice Job Thank you very much
kangkang orboda

kangkang orboda . 3 months ago

first of all you need to show us how to save folder to see that viewer will understand thanks :)
Zombie Slaughter

Zombie Slaughter . 4 months ago

du dreckiger reudiger inder

TicoBytes . 4 months ago

Idiot. I wasted my time.
Cartoon XD

Cartoon XD . 4 months ago

Do not use it. You are using mysql_ to access database which is deprecated. Use mysqli_ instead.
Ido l

Ido l . 4 months ago

Ido l

Ido l . 4 months ago

Your code is realy bad... a lot of errors the source code you give have a lot of mistakes
Fake Gamer

Fake Gamer . 4 months ago

Bhai hindi bol lete... Aur jbb sign up krenge to data mysql m kaise store krenge... Wo explain kro
Parviz Fetullayev

Parviz Fetullayev . 4 months ago

style.css source please
Reika Ro

Reika Ro . 4 months ago

its getting unexpected ''if' (T_IF) error.. on line 11 and on that line the code is if (isset $_POST ['username'] ) )
John Juanda

John Juanda . 4 months ago

this guy is a moron
joshua valencia

joshua valencia . 4 months ago

hello sir i just want to ask if you have a tutorial similar to this one but there's a little bit different like , multi log in with different role's for example admin , and user . if the admin enter his account he will redirect to admin page and when user enter his account he will redirect to different page intended for user only . i mean , so that the user cant access the management which can only work for admin only . thank you .
Dream Indian Dream

Dream Indian Dream . 5 months ago

MLM code
Adriano Zanette

Adriano Zanette . 5 months ago


Joshk326 . 5 months ago

This is a simple login in but not secure at all please make sure to store passwords hashed and not as plain text
Mercy Dellola

Mercy Dellola . 6 months ago

when I click login nothing happens why?
abinash shasini

abinash shasini . 6 months ago

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\login\login.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login\login.php on line 8 sir this error is showing plz replay s soon s possible

copper . 6 months ago

thats a good way to get your database hacked
Haymanot Solomon

Haymanot Solomon . 6 months ago

how can i use icons the key and person icons in the form? it can not work
Md Niloy

Md Niloy . 6 months ago

thanks sir
subhasish biswas

subhasish biswas . 6 months ago

Great it works, thanks
Rashisam sharma

Rashisam sharma . 7 months ago

I would like to see the all css coding,which is not available in this video about form input field and all!!
Richmond Mingi

Richmond Mingi . 7 months ago

what editor are you using
Business info

Business info . 7 months ago

How do I contact you personally for business talk. Via telegram or whatsapp
nishtha pahwa

nishtha pahwa . 8 months ago

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\login.php:9 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login.php on line 9 ???? kindly suggest
Amit Hasan

Amit Hasan . 8 months ago

SQL injection == true

Shagster . 8 months ago

How is this ran by clicking the button? i'm not sure i get it
Sela Official Song

Sela Official Song . 8 months ago

Very good video, i will learn from sir thanks for your sharing, now subscribed you!

SOLOtheBEST . 8 months ago

ZF Cynaide now makes guides?
Truzz Blogg

Truzz Blogg . 8 months ago

You should not use mysql to connect to your database. It's deprecated! Please, be aware! And thanks me later, before you got hacked!

Arsha . 8 months ago

Thank You so much sir...Really great sir...genuine code works with out any flaws...best explanation for PHP sqlDB i ever seen
Tech Idiots

Tech Idiots . 8 months ago

u don't reply for any of the comments then y u are posting videos just post your source code linking and shut the f**k up
Stephenne Sheane Randall Albano

Stephenne Sheane Randall Albano . 8 months ago

1st scenario. Lets say I will type a account (random account) will it wave in the database and I can see the account's user name and password in MySql server???? :) thanks
Adam Gliński

Adam Gliński . 9 months ago

When I open up page I can only see source code. Can U help me PLZ
Taniya Kaul

Taniya Kaul . 9 months ago

It showing error mysqli_select_db() expects exactly 2 parameters ,1 given on line mysqli_select_db($db); And when i write $con= mysqli_connect($host,$user,$password); mysqli_select_db($con,$db); It showing black page and in link part above page it showing localhost/php4/check.php?text=admin& password=admin

Nisutec . 9 months ago

don't save the unencripted password in a database.
Aafaan jii

Aafaan jii . 9 months ago

Aray asif baie..... Hindi/urdu mai baat kroo na... Taki sab aap koo samjay... ((( warna kya faida.... Jab aap koo samjana na aayai n logu koo samj naa aayai.. (? (? So plxxx... Try to make ur videos in hindi (? (?
BlackZero Rs

BlackZero Rs . 9 months ago

Yeah, but this way with puting username and password direct in your SQl query is highly risk to be hacked from SQL injection! Guys, use PDO method to comunicate with your SQL db, prepare and execute mothod in your query!

Report form

Related Videos
Create Pagination in PHP and MySQL

Copyright © 2020 MP3 Download. All Rights Reserved
Made with by YT-API.COM