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

  Рет қаралды 371,182

Ashish Kumar

Ashish Kumar

2 жыл бұрын

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

Пікірлер: 133
@ashishcode
@ashishcode 7 ай бұрын
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 KZbin30 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 5 ай бұрын
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 11 ай бұрын
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 🎉
@kbrian7873
@kbrian7873 Жыл бұрын
Does the localhost connection break when you publish? If yes, how do you go about reconnecting it?
@Guru_Kalyan
@Guru_Kalyan 7 ай бұрын
I have seen all videos. Nicee all. Videos and all concepts are clear in video thanks bro
@hetyaparmar1182
@hetyaparmar1182 9 ай бұрын
this is sooo usefull, i show many videos but your video is best.🙂
@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 !
@AlienBloxx
@AlienBloxx 9 ай бұрын
very simple tutorial thank you very much!
@Guru_Kalyan
@Guru_Kalyan 7 ай бұрын
One of the best video php ❤❤
@-V-_-V-
@-V-_-V- Жыл бұрын
Good to see anruto made an account on your site.
@cjcstudio6201
@cjcstudio6201 Жыл бұрын
Helped me to setup xxamp thank you😊
@abiudokiring2055
@abiudokiring2055 10 ай бұрын
good use of modularization,,,,thank you
@charvibapna4555
@charvibapna4555 6 ай бұрын
heyyy thankuu soo much this really helped me a lot
@parmarchhaya1979
@parmarchhaya1979 10 ай бұрын
😊Thank you so much it is really helpful 😊
@vawulencenews9428
@vawulencenews9428 10 ай бұрын
Thank you very much, you are amazing
@ssharma9831
@ssharma9831 2 ай бұрын
thank you brother love you a lot
@kdeyvlog9225
@kdeyvlog9225 Жыл бұрын
very nice brother thank you so much share experience
@maszgusz25
@maszgusz25 7 ай бұрын
Very helpful, btw I'm from Indonesia
@srianjankumargoud5849
@srianjankumargoud5849 Жыл бұрын
Hey..bro what u have send drive I tried to run in my pc But it showing error
@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??😩😩
@sirivelichannel0819
@sirivelichannel0819 6 ай бұрын
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
@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
@streamstv28
@streamstv28 Жыл бұрын
Thanks Bro be blessed
@marronbaldoque6867
@marronbaldoque6867 Жыл бұрын
your a huge help:)
@toons4uofficial
@toons4uofficial Жыл бұрын
its life saver video i am software dveloper
@dudamneerajdattu1459
@dudamneerajdattu1459 Жыл бұрын
instead of phpmyadmin, how to connect html form to MS SQL server management, please tell
@jamespaulsalonga5182
@jamespaulsalonga5182 2 ай бұрын
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
@mkammyd
@mkammyd 11 ай бұрын
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
@shaikarshiya5159
@shaikarshiya5159 19 күн бұрын
Thank you so much
@NoTimeWaste1
@NoTimeWaste1 10 ай бұрын
Thanks a lot!
@EliteBullRun
@EliteBullRun 11 ай бұрын
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???
@abccd5646
@abccd5646 Жыл бұрын
What is the difference between MS Access database and phpadmin database? Pls solve this query.
@mayanksingh6090
@mayanksingh6090 8 ай бұрын
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
@ostrichhakku5518
@ostrichhakku5518 9 ай бұрын
can we perform a sql injection in this login to acess the login and password
@saraali1171
@saraali1171 7 ай бұрын
Great Job
@janarjanar7188
@janarjanar7188 2 жыл бұрын
If we should create a database for both register and login
@adityapravasu6031
@adityapravasu6031 Жыл бұрын
right now the issue is it says parse error , unexpected variable $results how do i fix this
@iwannabronya
@iwannabronya Жыл бұрын
How to make the database before connect the login page to the database?
@user-iz6xd5zr8w
@user-iz6xd5zr8w 2 ай бұрын
How to link with our project in navbar
@aliganyirabosco8852
@aliganyirabosco8852 2 жыл бұрын
am trying to connect the user login pagge to the database using php but its not connecting
@Davidkph
@Davidkph Ай бұрын
can i use this tru ubuntu & navicat lite?
@avinashaldar4111
@avinashaldar4111 9 ай бұрын
Thanks 🙏🙏👍
@sona02.
@sona02. Жыл бұрын
Me ek online jellewery shopping ki website Bannae wali hu usme login page me ye banna sakte hai na
@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 10 ай бұрын
Same problem
@mohamedarsathkhan3344
@mohamedarsathkhan3344 Жыл бұрын
Hello sir, How to link login page and register please give the video ❤
@baddo4405
@baddo4405 7 ай бұрын
can we have the database file aswell from phpmyadmin?
@ankit5116k
@ankit5116k Жыл бұрын
tnx bro
@srilakshmisrilakshmi5183
@srilakshmisrilakshmi5183 Ай бұрын
Hi bro I had doubt bro . Instead of phpmyadmin, how to create the database
@raghav4509
@raghav4509 Жыл бұрын
In my project only admin login work Not user login and signup plz help
@isha4080
@isha4080 7 ай бұрын
Sir my localhost/Project2/login.php is not working.whqt i do
@rehadulislam7806
@rehadulislam7806 6 ай бұрын
thanks vai
@raza404y
@raza404y Жыл бұрын
How many rows of data we can store ??
@user-qi4lf8cm4n
@user-qi4lf8cm4n Жыл бұрын
Please show how did you setup php my admin , it’s really tough to do so with this incomplete method 😅
@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 10 ай бұрын
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
@dheerajbashat8870
@dheerajbashat8870 2 жыл бұрын
Fatal error : uncaught error :call Ani vastunadhi bro tell me the solution
@learning_new
@learning_new 8 күн бұрын
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
@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.....
@lloydgalero2799
@lloydgalero2799 Жыл бұрын
Dude can you show or send the file of your phpmyadmin?, thank you
@NikoGumban
@NikoGumban 6 ай бұрын
where will i find your code>>???
@janarjanar7188
@janarjanar7188 2 жыл бұрын
How to create database for this codes bro
@1neyt167
@1neyt167 8 ай бұрын
Bro i cant abling to conect to apache
@itspradeepbtw
@itspradeepbtw Жыл бұрын
Apache isnt starting. Please help
@user-cf9vd5px7k
@user-cf9vd5px7k 27 күн бұрын
how to set up your password in database?
@vibhutipatel72
@vibhutipatel72 Жыл бұрын
Local host page not appearing
@onszik
@onszik 7 ай бұрын
king
@shreyashanand9146
@shreyashanand9146 Жыл бұрын
@ashish kumar there it shows error if we use same user name and password after registration plz help
@harshithrevuri581
@harshithrevuri581 10 ай бұрын
Bro you rectified that error
@jaexuka
@jaexuka 8 ай бұрын
idol
@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?
@ayushgajbhiye9345
@ayushgajbhiye9345 Ай бұрын
i got error while opening login.php
@HonestNarratives
@HonestNarratives Жыл бұрын
Can I chat with you privately bro
@ankit5116k
@ankit5116k Жыл бұрын
bro iska documentation daa sakte hoo
@ot7dreamerbts
@ot7dreamerbts 14 күн бұрын
but it doesn't work anymore
@VincentAziz
@VincentAziz Жыл бұрын
hi there can we take this database online, like insted of running in local host.
@mr.arshah588
@mr.arshah588 28 күн бұрын
Same question, can we put it on our hosting?
@VincentAziz
@VincentAziz 28 күн бұрын
@@mr.arshah588 yes need to buy a domain. There are tutorials on how to do it.
@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.
@aishwaryamp9734
@aishwaryamp9734 2 жыл бұрын
hello what is root in server php does it changes to all can u please help me
@Station51
@Station51 10 ай бұрын
root is the username so if your on something like cpanel online you need use the username you assigned to the database
@emmanuelbaloagun4250
@emmanuelbaloagun4250 Жыл бұрын
Are you available to get this done for a client?
@emmanuelonwoh4696
@emmanuelonwoh4696 11 ай бұрын
Are you nigerian
@iamaghoul4413
@iamaghoul4413 Жыл бұрын
Nandamooooooooooooooooooooooooooo
@DSNiveditha
@DSNiveditha Жыл бұрын
Sir can we get a code in python instead of php ??
@celineharakee
@celineharakee 6 ай бұрын
no
@RadicalMagicTamil
@RadicalMagicTamil 10 ай бұрын
bro r u naruto fan???
@abhinavdwivedi1693
@abhinavdwivedi1693 8 ай бұрын
Code is not working
@user-le3xq7nx3h
@user-le3xq7nx3h 9 ай бұрын
There are no login with email problem
@tarquincaldwell
@tarquincaldwell 5 ай бұрын
suppp
@bittu25
@bittu25 Жыл бұрын
Sir, how to get code of these files? We cannot follow you 100%.
@toshio-tamura
@toshio-tamura Жыл бұрын
description
@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 11 ай бұрын
The login though 😢
@danielmwendwa8703
@danielmwendwa8703 11 ай бұрын
​@@ashishcode please recheck
@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 5 ай бұрын
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 8 күн бұрын
$h = mysqli_connect("localhost:8082", "root", "", "stp16"); if (!$h) { die("Connection failed: " . mysqli_connect_error()); } what is the error help me
@grandhiyaswanth3109
@grandhiyaswanth3109 Ай бұрын
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 Ай бұрын
Maybe you listed the subclass database name instead of the main databse name?
@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 2 ай бұрын
bro do you know how to resolve it? i am having the same issue
Save HTML Form Data to a MySQL Database using PHP
24:38
Dave Hollingworth
Рет қаралды 185 М.
[柴犬ASMR]曼玉Manyu&小白Bai 毛发护理Spa asmr
01:00
是曼玉不是鳗鱼
Рет қаралды 37 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 4,6 МЛН
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 24 МЛН
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 21 МЛН
How He Cracked Google in 3rd Year | Tips for DSA 🔥
15:27
Ashish Kumar
Рет қаралды 9 М.
How to Connect HTML Form with MySQL Database using PHP
7:09
Technical Babaji
Рет қаралды 2,2 МЛН
I tried Unraid for the FIRST time in 2024
21:05
Techno Tim
Рет қаралды 74 М.
Login and Registration Form in PHP and MySQL
56:17
AUZ Tutorials
Рет қаралды 277 М.
Make the Perfect Project for Getting Job | Placements 2024 🔥
12:10
[柴犬ASMR]曼玉Manyu&小白Bai 毛发护理Spa asmr
01:00
是曼玉不是鳗鱼
Рет қаралды 37 МЛН