Тёмный

How to Connect Login Page with SQL Database in php | phpmyadmin 

Ashish Kumar
Подписаться 21 тыс.
Просмотров 388 тыс.
50% 1

Hey guys I have made a complete tutorial which shows how to connect HTML Form to SQL Database using php, I have also included how to install xampp and phpmyadmin as well.
All the source code files used in the video are on below link:
drive.google.com/drive/folder...
I have more videos coming up, so do subscribe!
Topics:
how to connect html form to sql database, how to connect html form to sql with php, how to connect login registration page to sql database,
how to connect login page with database in php,
how to connect html registration form with database,
Resources for Competitive Programming/Coding Interviews:
Competitive Programming Course:tinyurl.com/BibleOfCP
DS Algo Course:tinyurl.com/AbdulBariDSA
DS Algo and Coding Interview Course:tinyurl.com/DSACodingInterview
Dynamic Programming:tinyurl.com/DynamicProgrammin...
Competitive Programming Essentials:tinyurl.com/CPEssential

Опубликовано:

 

23 дек 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 133   
@ashishcode
@ashishcode 8 месяцев назад
Hi Guys, you can now book a 1:1 call with me on topmate.io/ashishcode for placement guidance and more at a very affordable price. Use code RU-vid30 for 30% off! (Only for first 15 Users)
@maa200
@maa200 Год назад
Nicely put man. Much appreciate it, it helped refresh my memory on a few things
@slkulkarni8016
@slkulkarni8016 6 месяцев назад
Literally brother, I was so tired of trying things from more than a week, u solved each and every problem, thank you, thank u so much❤
@PawanPawar1
@PawanPawar1 Год назад
Thank you so much bro, i've been dealing with this database problem since 3 days and you solved it in just one video. Thanks for the free source code too.
@kendrevaibhav8114
@kendrevaibhav8114 Год назад
Bro can you help menout
@kendrevaibhav8114
@kendrevaibhav8114 Год назад
Out
@kendrevaibhav8114
@kendrevaibhav8114 Год назад
My login page is not working
@kendrevaibhav8114
@kendrevaibhav8114 Год назад
Register page is working
@tariqjamil4065
@tariqjamil4065 Год назад
Same problem
@nwbstplyr
@nwbstplyr 2 года назад
Thank you great video! Permission to use it in our group's system just for added security. thank you again 🎉
@Dream11sagar
@Dream11sagar 8 месяцев назад
I have seen all videos. Nicee all. Videos and all concepts are clear in video thanks bro
@hetyaparmar1182
@hetyaparmar1182 10 месяцев назад
this is sooo usefull, i show many videos but your video is best.🙂
@AlienBloxx
@AlienBloxx 10 месяцев назад
very simple tutorial thank you very much!
@Dream11sagar
@Dream11sagar 8 месяцев назад
One of the best video php ❤❤
@azmeenbakar7032
@azmeenbakar7032 2 года назад
thank you so much sir!!! you're very helpful!!! , your explanation was good and I was be able to understand the codes ! may god bless you !
@-V-_-V-
@-V-_-V- Год назад
Good to see anruto made an account on your site.
@cjcstudio6201
@cjcstudio6201 Год назад
Helped me to setup xxamp thank you😊
@charvibapna4555
@charvibapna4555 7 месяцев назад
heyyy thankuu soo much this really helped me a lot
@abiudokiring2055
@abiudokiring2055 11 месяцев назад
good use of modularization,,,,thank you
@parmarchhaya1979
@parmarchhaya1979 11 месяцев назад
😊Thank you so much it is really helpful 😊
@vawulencenews9428
@vawulencenews9428 11 месяцев назад
Thank you very much, you are amazing
@marronbaldoque6867
@marronbaldoque6867 Год назад
your a huge help:)
@maszgusz25
@maszgusz25 8 месяцев назад
Very helpful, btw I'm from Indonesia
@ssharma9831
@ssharma9831 3 месяца назад
thank you brother love you a lot
@kdeyvlog9225
@kdeyvlog9225 Год назад
very nice brother thank you so much share experience
@NoTimeWaste1
@NoTimeWaste1 11 месяцев назад
Thanks a lot!
@streamstv28
@streamstv28 Год назад
Thanks Bro be blessed
@toons4uofficial
@toons4uofficial Год назад
its life saver video i am software dveloper
@saraali1171
@saraali1171 8 месяцев назад
Great Job
@shaikarshiya5159
@shaikarshiya5159 Месяц назад
Thank you so much
@mkammyd
@mkammyd Год назад
Nice video, can u make a video on how to make a signup page and it stores the user data automatically into the database once the user signs up
@ankit5116k
@ankit5116k 2 года назад
tnx bro
@avinashaldar4111
@avinashaldar4111 10 месяцев назад
Thanks 🙏🙏👍
@srianjankumargoud5849
@srianjankumargoud5849 Год назад
Hey..bro what u have send drive I tried to run in my pc But it showing error
@rehadulislam7806
@rehadulislam7806 7 месяцев назад
thanks vai
@jamespaulsalonga5182
@jamespaulsalonga5182 3 месяца назад
i have problem after register and i log out then it will go back to log in page and if i enter the account i register the "wrong username/password combination" appear ,it is connected in phpmyadmin database
@REXDEMON
@REXDEMON Год назад
Bro this video helped me a lot, I have a doubt what are the things we should check mainly after the registration for login
@anirbanX12
@anirbanX12 11 месяцев назад
Same problem
@dudamneerajdattu1459
@dudamneerajdattu1459 Год назад
instead of phpmyadmin, how to connect html form to MS SQL server management, please tell
@chulbulietannu
@chulbulietannu Год назад
Sir,if we try login page after signup it works but if we try again that username amd password on another day then it shows blank. The next page is not coming after login. What do i do now??😩😩
@kendrevaibhav8114
@kendrevaibhav8114 Год назад
Hi bhai Register option is working correctly but when I try to login it's not working While creating database we have to give username name as primary key or not , Or any other thing is required please tell asap
@hesiURS
@hesiURS 6 дней назад
After click login redirecting me to login site one more time. data writing correctly on mysql database, connect is ok, i can register, then redirect to login but when i put correct password and login and click log is still the same... where is the problem ?
@aliganyirabosco8852
@aliganyirabosco8852 2 года назад
am trying to connect the user login pagge to the database using php but its not connecting
@mayanksingh6090
@mayanksingh6090 9 месяцев назад
in case of wamp server where to put project folder in wamp server
@BSCSRIVIDHYAS
@BSCSRIVIDHYAS Год назад
Is there any database connectivity is used in php and mysql
@EliteBullRun
@EliteBullRun Год назад
I have a website I developed that’s already hosted, but I have issues with the reg page, it doesn’t successfully register a user… how do I fix this???
@janarjanar7188
@janarjanar7188 2 года назад
If we should create a database for both register and login
@Davidkph
@Davidkph 2 месяца назад
can i use this tru ubuntu & navicat lite?
@ostrichhakku5518
@ostrichhakku5518 10 месяцев назад
can we perform a sql injection in this login to acess the login and password
@HonestNarratives
@HonestNarratives Год назад
Bro thanks for this video it's really comprehensive, but I have a problem, I have been trying to input some php onto html page...
@Station51
@Station51 11 месяцев назад
use the php tag so use that should work if not name the page as a php page and use the doctype tag for the html
@adityapravasu6031
@adityapravasu6031 Год назад
right now the issue is it says parse error , unexpected variable $results how do i fix this
@sirivelichannel0819
@sirivelichannel0819 7 месяцев назад
bro it is showing " Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) " check it and say how to solve it
@Tec20248
@Tec20248 Год назад
What is the difference between MS Access database and phpadmin database? Pls solve this query.
@sona02.
@sona02. Год назад
Me ek online jellewery shopping ki website Bannae wali hu usme login page me ye banna sakte hai na
@onszik
@onszik 8 месяцев назад
king
@iwannabronya
@iwannabronya Год назад
How to make the database before connect the login page to the database?
@user-iz6xd5zr8w
@user-iz6xd5zr8w 3 месяца назад
How to link with our project in navbar
@baddo4405
@baddo4405 8 месяцев назад
can we have the database file aswell from phpmyadmin?
@mohamedarsathkhan3344
@mohamedarsathkhan3344 Год назад
Hello sir, How to link login page and register please give the video ❤
@raghav4509
@raghav4509 Год назад
In my project only admin login work Not user login and signup plz help
@raza404y
@raza404y Год назад
How many rows of data we can store ??
@srilakshmisrilakshmi5183
@srilakshmisrilakshmi5183 2 месяца назад
Hi bro I had doubt bro . Instead of phpmyadmin, how to create the database
@isha4080
@isha4080 8 месяцев назад
Sir my localhost/Project2/login.php is not working.whqt i do
@user-qi4lf8cm4n
@user-qi4lf8cm4n Год назад
Please show how did you setup php my admin , it’s really tough to do so with this incomplete method 😅
@dheerajbashat8870
@dheerajbashat8870 2 года назад
Fatal error : uncaught error :call Ani vastunadhi bro tell me the solution
@nyy__scal273
@nyy__scal273 Год назад
There must be error in login code.It still says Wrong username and password combination even if i entered it correctly?
@reemaal5112
@reemaal5112 Год назад
how did you fix this error?
@AbhishekThakur-jf6sz
@AbhishekThakur-jf6sz Год назад
Me data registration krta hu ''you are now logged in'' bhi aa jata h but data insert nhi hota Please solve this problem.....
@shreyashanand9146
@shreyashanand9146 Год назад
@ashish kumar there it shows error if we use same user name and password after registration plz help
@harshithrevuri581
@harshithrevuri581 Год назад
Bro you rectified that error
@1neyt167
@1neyt167 9 месяцев назад
Bro i cant abling to conect to apache
@emmanuelbaloagun4250
@emmanuelbaloagun4250 Год назад
Are you available to get this done for a client?
@emmanuelonwoh4696
@emmanuelonwoh4696 Год назад
Are you nigerian
@VincentAziz
@VincentAziz Год назад
hi there can we take this database online, like insted of running in local host.
@mr.arshah588
@mr.arshah588 Месяц назад
Same question, can we put it on our hosting?
@VincentAziz
@VincentAziz Месяц назад
@@mr.arshah588 yes need to buy a domain. There are tutorials on how to do it.
@NikoGumban
@NikoGumban 7 месяцев назад
where will i find your code>>???
@DSNiveditha
@DSNiveditha Год назад
Sir can we get a code in python instead of php ??
@celineharakee
@celineharakee 7 месяцев назад
no
@itspradeepbtw
@itspradeepbtw Год назад
Apache isnt starting. Please help
@jaexuka
@jaexuka 9 месяцев назад
idol
@aishwaryamp9734
@aishwaryamp9734 2 года назад
hello what is root in server php does it changes to all can u please help me
@Station51
@Station51 11 месяцев назад
root is the username so if your on something like cpanel online you need use the username you assigned to the database
@PawanPawar1
@PawanPawar1 Год назад
I also wanted to add date and time when the user registered can you tell how can i do that.
@ashishcode
@ashishcode Год назад
That you can extract using JS
@PawanPawar1
@PawanPawar1 Год назад
just googled how to add date and time and i just got it.
@janarjanar7188
@janarjanar7188 2 года назад
How to create database for this codes bro
@iamaghoul4413
@iamaghoul4413 Год назад
Nandamooooooooooooooooooooooooooo
@vibhutipatel72
@vibhutipatel72 Год назад
Local host page not appearing
@lloydgalero2799
@lloydgalero2799 Год назад
Dude can you show or send the file of your phpmyadmin?, thank you
@ankit5116k
@ankit5116k Год назад
bro iska documentation daa sakte hoo
@learning_new
@learning_new Месяц назад
Fatal error: Uncaught mysqli_sql_exception: Unknown database 'project' in C:\xampp\htdocs\project1\server.php:10 Stack trace: #0 C:\xampp\htdocs\project1\server.php(10): mysqli_connect('localhost', 'root', Object(SensitiveParameterValue), 'project') #1 C:\xampp\htdocs\project1\login.php(1): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\project1\server.php on line 10 How can i overcome this error please explain me
@user-cf9vd5px7k
@user-cf9vd5px7k Месяц назад
how to set up your password in database?
@ayushgajbhiye9345
@ayushgajbhiye9345 2 месяца назад
i got error while opening login.php
@ot7dreamerbts
@ot7dreamerbts Месяц назад
but it doesn't work anymore
@bittu25
@bittu25 Год назад
Sir, how to get code of these files? We cannot follow you 100%.
@toshio-tamura
@toshio-tamura Год назад
description
@tarquincaldwell
@tarquincaldwell 6 месяцев назад
suppp
@RadicalMagicTamil
@RadicalMagicTamil 11 месяцев назад
bro r u naruto fan???
@HonestNarratives
@HonestNarratives Год назад
Can I chat with you privately bro
@abhinavdwivedi1693
@abhinavdwivedi1693 9 месяцев назад
Code is not working
@tedkurmaku4844
@tedkurmaku4844 2 года назад
bro i tried the exact same code from your source files, register works fine, but when i log in with the same username and password i used to register, it always shows me wrong username/password combination? the php codes are the exact as yours.. any idea?
@ashishcode
@ashishcode 2 года назад
Someone else had the same problem, try downloading the files from description and then running everything like that, it worked for them.
@tedkurmaku4844
@tedkurmaku4844 2 года назад
@@ashishcode still doesnt work.. thanks tho
@tedkurmaku4844
@tedkurmaku4844 2 года назад
@@ashishcode it doesnt work bro, it wont get the username and password from the database, everything is exaclty like you have done it, and the code is from your link.
@danielmwendwa8703
@danielmwendwa8703 Год назад
The login though 😢
@danielmwendwa8703
@danielmwendwa8703 Год назад
​@@ashishcode please recheck
@user-le3xq7nx3h
@user-le3xq7nx3h 10 месяцев назад
There are no login with email problem
@vibhutipatel72
@vibhutipatel72 Год назад
Please help me out
@adityathakur8625
@adityathakur8625 Год назад
Yeah sayy
@ankurverma8792
@ankurverma8792 Год назад
Git hub link bro
@9iceffgame905
@9iceffgame905 Год назад
I don't have xamp how do I do it 🥺
@RlexTOP
@RlexTOP Год назад
Login not working:(
@koru794
@koru794 6 месяцев назад
2
@yogeshagowda2013
@yogeshagowda2013 2 года назад
Bro I tried the exam same code with exact same database. But I'm getting the error message *Invalid Username or Password * I have checked all the syntax, Database names , other names etc. But it still shows the same error. Please help
@ashishcode
@ashishcode 2 года назад
You don't need to keep the DB same, if the message is being shown in the loginpage UI then I guess you are not entering the DB values correctly
@yogeshagowda2013
@yogeshagowda2013 2 года назад
@@ashishcode login wasn't successful for many trials.. so I even copied the DB. Like entire thing is copy pasted... Don't know it's showing the error message. I think data is not being read from MySQL into PHP.... Please do help through this....
@yogeshagowda2013
@yogeshagowda2013 2 года назад
@@ashishcode Connection is set... Cause write operation is being performed successfully
@ashishcode
@ashishcode 2 года назад
@@yogeshagowda2013 if connection is set then it should work, it worked for everyone else as well, do one thing, just download the files from description and then run it using those files again.
@yogeshagowda2013
@yogeshagowda2013 2 года назад
It worked bro.. thank you
@dmsubhajit
@dmsubhajit 2 года назад
can you give me the database also??
@ashishcode
@ashishcode 2 года назад
I cannot send the database, just create whatever database you want using SQL commands.
@iwannabronya
@iwannabronya Год назад
@@ashishcode make a video to create the database please🤧, i'm stuck
@Chavaka_cheap
@Chavaka_cheap Год назад
👎
@isaacreations
@isaacreations Год назад
i appreciate your contribution, when i try this warning showed up, what can i do? Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp1\htdocs\phpscripts\kamara\login.php on line 35
@adityapravasu6031
@adityapravasu6031 Год назад
hello sir i am working on a project right now and i need assistance from someone like you..can you please let me know if i can contact you in anyway possible
@learning_new
@learning_new Месяц назад
$h = mysqli_connect("localhost:8082", "root", "", "stp16"); if (!$h) { die("Connection failed: " . mysqli_connect_error()); } what is the error help me
@sanjaygk4577
@sanjaygk4577 Год назад
error what to do? please help quickly Fatal error: Uncaught mysqli_sql_exception: Table 'project.users' doesn't exist in C:\xampp\htdocs\Project2\server.php:32 Stack trace: #0 C:\xampp\htdocs\Project2\server.php(32): mysqli_query(Object(mysqli), 'SELECT * FROM u...') #1 C:\xampp\htdocs\Project2 egister.php(1): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\Project2\server.php on line 32
@puvvadavamsidhar4715
@puvvadavamsidhar4715 3 месяца назад
bro do you know how to resolve it? i am having the same issue
@grandhiyaswanth3109
@grandhiyaswanth3109 2 месяца назад
Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\phpproject\server.php:10 Stack trace: #0 C:\xampp\htdocs\phpproject\server.php(10): mysqli_connect('localhost', 'root', Object(SensitiveParameterValue), 'prpject') #1 C:\xampp\htdocs\phpproject\login.php(1): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\phpproject\server.php on line 10 ela error vasthundhi bro yala
@danielforsythe3808
@danielforsythe3808 2 месяца назад
Maybe you listed the subclass database name instead of the main databse name?
Далее
Signup and Login with PHP and MySQL
43:16
Просмотров 270 тыс.
PHP how to connect to MySQL database
8:50
Просмотров 6 тыс.
Login Form in HTML & CSS
11:07
Просмотров 1,2 млн