PHP and MySQL How to connect #HTML #login form to #PHP and #MySQL Part 2

preview_player
Показать описание
In this video we will learn how to connect HTML login form with PHP and MySQL database for login operation. If email and password match then user will get message login successfully other wise he or she will get message Invalid user name or password.
=============================================
For any Business enquiry contact us
WhatsApp :- +917978073704 (for only business query)
=============================================

PHP and MySQL - How to create Login Form using HTML and Bootstrap v4.4 #1

For getting the input field value inside the php file we need to specify name of that input using name attribute of HTML

$email = $_POST['email'];
here $email is a variable we are getting email using $_POST global variable $_POST['email']; here email is the name of input field

$con = new mysqli("localhost","root","","test");

$con is a variable which hold the $con object
Рекомендации по теме
Комментарии
Автор

Out of all the video tutorials this one helped my code functional! Thank you so much and keep on helping us! God bless you!

ryanp.cepada
Автор

I did try many more time but failed. But your code is code is working finely.Thanks a lot bro.

md.rezaulkarim
Автор

00:01 Learn how to connect a login form with PHP and MySQL database.
00:51 Connect HTML login form to PHP and MySQL using PHP file
01:53 Executing login functionality and establishing database connection in PHP
02:53 Establish a connection to the MySQL database using PHP.
03:48 Prepare a statement with SQL query and bind the value
04:51 Executing SQL query and checking the result
05:53 Fetch data from the result using a fetch method.
06:55 Implementing blank validation in HTML login form
Crafted by Merlin AI.

Me-nhpt
Автор

tq so so much i m a beginner and it worked without any error.

santhoshs
Автор

This video was extremely helpful keep doing the good work :)

pujasahoo
Автор

Sir, Amazing playlist you have here. ( Suggestion - you have performed Create operation on the form in the SQL video, part 2 of that video could have been CRUD operation . And this could have been part 3 ) . Other than this, excellent TO THE POINT explanation. 🙂

jeevansawalkar
Автор

thanks a lot sir really
much needed in less time

udayytpremium
Автор

in this video you have explained how to connect form to database but next step is How to Fetch Data From Database in PHP And Display HTML Tables please upload video

kanwalshahzadi
Автор

Nice video, what about how to build user dashboard after login

netnation
Автор

Thank you I learn more From Your video

samiyoutubeofficial
Автор

Such video have helped me a lot Thank you Sir

gaytridodiya
Автор

awesome tutorial very useful

Thank you!

nandrajmeshram
Автор

hello sir
me apke sabji video regularly check karta hu or bhot kuch sikhne ko mitla he so thnx for you and sir I req u plz online examination project ko online server par kese work uplod karte he vo next video banavo uska source code salary phptiponit pe he hi but kuch quriy raheti ek singup me could not perform quiry and second review que me so plz help me

jaymaajahu
Автор

Thank you so much buddy... This helped me a lot : )

beingnatural
Автор

Bro your video makes me more helpful . First I get started with php in my college and now i almost forgot it. Now i want to learn more. Did you have full course of php then kindly share that link to me

mueesabdulrahiman
Автор

Sir I have one doubt for visual studio and xmapp not connected sir please help me that one sir

manichowdary
Автор

thanx but you should explain deeply waht is->param ? waht is stmnt.. what is ->bind what is prepare why ..?)

sgouri
Автор

Sir can u plz tell me that which email or password u use when login or which password i use for login??

saniashkt
Автор

Why do I always get fatal error on "Call to a member function bind_param() on bool"?

MegaGoldenLips
Автор

HOW TO PRINT DATA OF THE DATABASE TABLE IN PAGE

prashantavinash