@@CCDrone Try this interesting stuff too guys Login Form with Google Apps Script - Part 3: Connect to Database (Google Sheets) ruclips.net/video/Z-CXByygdxw/видео.html
Everyone who is getting a blank page or an error should use: $con = mysqli_connect($host, $user, $password, $db); Instead of mysql_connect($host, $user, $password, $db); Apparantly mysql or php changed it in an update.
@@mohsinaljily6011 i found an alternative with apps script, and I no need hosting to publish the form. This one of my reference ruclips.net/video/Z-CXByygdxw/видео.html
that is very good tutorial sir but for my side there is the problem on line 8 mysql_connect($host,$user,$password); that line having an problem to me when am already to fill the field in interface form
Greetings, my code is in HTML file even though I saved it as a PHP, so what is the problem it seems that the database that I've created cannot be connected to my code?
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
i had this error: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\login\php_login.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login\php_login.php on line 8 someone answer to my problem: This is happening because mysql_connect() extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Most probably you are using the latest version of PHP. The solution for this you can use mysqli extension instead. The better option is PDO.
please help me, I tried your code, and it says like this Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/emulated/0/htdocs/MYPHP/login.php:8 Stack trace: #0 {main} thrown in /storage/emulated/0/htdocs/MYPHP/login.php on line 8
(Fatal error: Uncaught Error: Call to undefined function mysql_connect() in F: aman\htdocs\php\login.php:6 Stack trace: #0 {main} thrown in F: aman\htdocs\php\login.php on line 6) what to do?
Hello sir. I have copy paste your php code and change it according to my db. After i input the email and password on login form why the page does not appear "You have successfully...." and "You have entered incorrect...."? I use notepad++
Hello! I had the same problem... You have to check the code file and the video at the same time, cause there are a few differences between the variables, or some things are missing...also i had to turn all the mysql to mysqli to work. Don't forget to change the example's variable names with yours! :)
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\login\index.php:6 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login\index.php on line 6 what should i do ?
I tried to copy the code of him same as with the phpMyadmin but I don't see any error or any changes on my program when I executed it, except when I refresh the UI / login page? It doesn't show the notification if I'm logged in or not. Help, please.
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!
I guess you are using brackets to compile the codes but your's bracket is highlighting the codes where mine is not doing the same. Also, I have copied and pasted your code including CSS but there is a message saying error in line 8.
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
it,s not working,,,i know i have error in line number 28,but plz help,i copies you same,,,,tell me about this error( Parse error: syntax error, unexpected '}', expecting ',' or ')' in C:\xampp\htdocs\mobiles works\login.php on line 28)
I copied and pasted the source code, Im using the PHP 5.6 like you recommended and my warnings are gone. When I type something in the input field it doesnt return anything, no messages about the result. No errors on the console as well. What should I do next?
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\TTCN\index.php:7 Stack trace: #0 {main} thrown in C:\xampp\htdocs\TTCN\index.php on line 7 It IS NOT WORKING
login page code is full of bug and showing fatal error and main problem showing parent directory and css3 folder and login.php file. At the place of opening website on local server.
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 .
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
Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\login.php on line 10 Fatal error: Uncaught Error: Call to undefined function mysql_query() in C:\xampp\htdocs\login.php:18 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login.php on line 18
@@mustafaali6419 notice this line,, Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in E:\PHP\htdocs\login_php\index.php on line 12 1 please help me i have the same problem
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 (? (?
you should write if(isset($_POST['LOGIN'])){}.But there you use username your from sumit filed write name="Login" but when userdo hit login but you here write username
I hear Indian voice in programming tutorials I feel saved.
Actually you're not, that code is actually not secured against attacks from "hackers"
@@josuevalar6465 I did not say "safe" I said "saved". I mean, I finally found something to learn for my own project.
@@josuevalar6465 can you tell me what vulnerability this form has ??
@opensource Reproduction the vulnerabillity is "sql injextion"
@@xdmusic3611 indeed
Waah its working , great work man
Thank you sir 🙏 very nice explain the SQL 👌👍🏻🙏❤️ from pune
thank you so much... for last two days I had faced a little bit problem...after show your video... I have overcome it...
I have to thank this guy. Been learning basics and stuff this Covid times November 2020.
me too :) Good luck with everything :)
@@CCDrone Try this interesting stuff too guys
Login Form with Google Apps Script - Part 3: Connect to Database (Google Sheets)
ruclips.net/video/Z-CXByygdxw/видео.html
Man Only Indians are posting Coding Tutorials. I am proud of my country
Just starting this video. Would be helpful if you can provide the link to your previous tutorial in the description space.
Everyone who is getting a blank page or an error should use:
$con = mysqli_connect($host, $user, $password, $db);
Instead of
mysql_connect($host, $user, $password, $db);
Apparantly mysql or php changed it in an update.
am getting a blank page i did what u say nothing happen
@@mohsinaljily6011 i found an alternative with apps script, and I no need hosting to publish the form. This one of my reference ruclips.net/video/Z-CXByygdxw/видео.html
if I wrote the username and password nothing happened. In addition the style of css is not working
u just save my final requirements this year
What was it
Thank you for this tutorial. It helps a lot
English achi h apki👍
And you can understanding to we 1 sentence
You should not follow this tutorial. He doesn't use prepared statements, which results in a very insecure backend.
Downvoted the video because of that. This is incredibly bad.
true. this is homework material to barely pas some test. really insecure!
it's just what I need to prove a point lol, so it works if you're not going to use it for an actual site
although prepared statements is the only thing missing to make it secure against sql injenction so I guess the rest is still valid
which tutorial should i follow then?
Thank you helps a lot
that is very good tutorial sir but for my side there is the problem on line 8 mysql_connect($host,$user,$password); that line having an problem to me when am already to fill the field in interface form
GOD BLESS YOU... You really assisted Me!
Greetings, my code is in HTML file even though I saved it as a PHP, so what is the problem it seems that the database that I've created cannot be connected to my code?
while saving select all file types not only giving its name as.html will do so
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
i had this error: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\login\php_login.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login\php_login.php on line 8
someone answer to my problem: This is happening because mysql_connect() extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Most probably you are using the latest version of PHP. The solution for this you can use mysqli extension instead. The better option is PDO.
Thank You so much sir...Really great sir...genuine code works with out any flaws...best explanation for PHP sqlDB i ever seen
please help me, I tried your code, and it says like this
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/emulated/0/htdocs/MYPHP/login.php:8 Stack trace: #0 {main} thrown in /storage/emulated/0/htdocs/MYPHP/login.php on line 8
Thx you very much. Your video helped me find some typeOs which made me crazy :D
Thanks Bro...Very Helpful
Thank you so much 🤘😇
In this video I am not understanding your language
all i can say is hello SQL Injection
😂
mysql_ functions are not safe.
@@RoadPirateFilms even mysqli escape string not safe
@@b0x3 what is a safe way to it interact with a MySQL database?
Thank you sir. God Bless you.
great work
Hi sir actually when do that i got error like cannot start session when headers already sent by ... So please as soon as you
Thank You !!
NOW, I GOT IT !
THANKS FROM BRAZIL.
Thanks bro
please what can replace mysql_connect in ur code cause i don't have this function
very nice
Thank you so much, I was looking for the answer for a problem that I had and you give me exactly that.
(Fatal error: Uncaught Error: Call to undefined function mysql_connect() in F:
aman\htdocs\php\login.php:6 Stack trace: #0 {main} thrown in F:
aman\htdocs\php\login.php on line 6)
what to do?
Solution mila?????
you have to paste the entire code some where so we can help you
post it here if you wish.
Yaa same here
your website is nice and your video is also nice
Whole solution of form data in just 2 minute
ruclips.net/video/sxlmReSlaoc/видео.html
I'm writing this code in VS, its showing me error in line no 18 ($result =mysqli_query($sql); )
In its output , http error 405 is showing , I've watched many videos to connect database but .... everytime it shows me " http error 405 "
I have the same issue.
Uncaught ArgumentCountError: mysqli_query() expects at least 2 arguments, 1 given in C:\xampp\htdocs\login.php
Thank for tutorial!
your database name is demo not loginform . your table name is loginform .
Really u r great sir🙏🙏 plzz upload more projects, it useful for everyone
Please every one don't replace the mysql with mysqli so you can allow us to have some more fun
thank you for saving the code !
Hello sir. I have copy paste your php code and change it according to my db. After i input the email and password on login form why the page does not appear "You have successfully...." and "You have entered incorrect...."? I use notepad++
same thing for me :I
Hello! I had the same problem... You have to check the code file and the video at the same time, cause there are a few differences between the variables, or some things are missing...also i had to turn all the mysql to mysqli to work. Don't forget to change the example's variable names with yours! :)
אם הודים לא היו קיימים היה נחסך לי כל כך הרבה זמן מהחיים
What app do you use ?
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\login\index.php:6 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login\index.php on line 6
what should i do ?
Same
thank you so much
wow good thanx for yr help
I tried to copy the code of him same as with the phpMyadmin but I don't see any error or any changes on my program when I executed it, except when I refresh the UI / login page? It doesn't show the notification if I'm logged in or not. Help, please.
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!
that's only for beginners if you want to learn advance login system please visit the channel and search login and registration
PDO won't stop you getting injection.
How did you save the files what folders did you save the files
I guess you are using brackets to compile the codes but your's bracket is highlighting the codes where mine is not doing the same. Also, I have copied and pasted your code including CSS but there is a message saying error in line 8.
Have same problem
which platform u r using ?
ZF Cynaide now makes guides?
what editor are you using
thank you so much
good website and nice videos
Masha Allah Asif Bhai nice video
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
can i help you sir ?
@@mustafaali6419 yeah
fatal error: uncaught error: call to undefined function mysql_connect()
mysql_connect() is now discontinued so this code will no longer work
You should use mysqli_connect()
@@shakirabdulaziz3286 thank youuu
hey, i have error on line 8 it says undefined function mysql_connect()
is anyone can help me please?
change it to mysqli_connect()
@@arnolddsouza2049 i change it but still error
@@alyaharyanti279 i got it to work:
@@alyaharyanti279 use an alternative with apps script, no need hosting to publish it. I found this one useful ruclips.net/video/Z-CXByygdxw/видео.html
Very Informative Video, Thanks for sharing
sir i copy your code but your code show error this line
mysql_connect($host,$user,$password);
plz tell me
my friend u only upload 1 style code, please upload the second. thank u
great man
I would like to see the all css coding,which is not available in this video about form input field and all!!
please visit my channel to find the login form using html and css3, then you will able to find the video :)
Bro which coed editor u are using??
@@0xdeadbeer what extension he's using really cool theme?!
@@0xdeadbeer thanks
Very useful. Thanks
Nice
BRO U ARE AWESOME!
it,s not working,,,i know i have error in line number 28,but plz help,i copies you same,,,,tell me about this error(
Parse error: syntax error, unexpected '}', expecting ',' or ')' in C:\xampp\htdocs\mobiles works\login.php on line 28)
The most bug free code on youtube!!!!
I copied and pasted the source code, Im using the PHP 5.6 like you recommended and my warnings are gone. When I type something in the input field it doesnt return anything, no messages about the result. No errors on the console as well. What should I do next?
Please explain some more details what problem are you having. Thanks
update your php version
Because the php sentencies are Obsolete
How is this ran by clicking the button? i'm not sure i get it
👌👌👌👌Good content sir
So sweet
Sir please tell me .what type of app used in this editing
Urdu mn lecture dety to better tha any way its a good job
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\TTCN\index.php:7 Stack trace: #0 {main} thrown in C:\xampp\htdocs\TTCN\index.php on line 7 It IS NOT WORKING
Peut-être la version de votre php>5
Remplace cette fonction par mysqli_connect();
Thank You So much This Lesson Is Very Useful 👍
why you are use ID in data table because we want only 2 data username and password. plez give answers????????
I am give rate 5 into 2 😒
what is application you using ?
first of all you need to show us how to save folder to see that viewer will understand
thanks :)
login page code is full of bug and showing fatal error and main problem showing parent directory and css3 folder and login.php file. At the place of opening website on local server.
It was really helpful 😊
i copy all your source code posted on the link but i have an error icon is not display. solution plz.
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 .
I can teach you how to do this.
@@mutalemulenga8708 teach me please
@@SantoshKumar-do3ec I made a tutorial on my channel... ruclips.net/video/EOsgb_50rJM/видео.html
If you still need clarification, let me know.
@@mutalemulenga8708 I want to talk to you bro once......I want some help regarding my project
@@SantoshKumar-do3ec there is an email on my channel. Send me an Email. will be glad to look see if i can help.
Very nice but it would be much more nice if you also include the css section.
Merci beaucoup mettre
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
you are using php 2017 version which does not have mysql extension instead use mysqli pdo it should work
@@grationroshan6922
@@grationroshan6922 Thanks for the help I get it
Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\login.php on line 10 login page showed but this error coming
Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\login.php on line 10
Fatal error: Uncaught Error: Call to undefined function mysql_query() in C:\xampp\htdocs\login.php:18 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login.php on line 18
Nice asif sir
i installed extension emmet to get colours on my text, how can i get the text with different colours
Very very useful it made my day.
Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\Project\process.php on line 9
same problem ,,, notice this line,, Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in E:\PHP\htdocs\login_php\index.php on line 12
@@md.hasanuzzaman0001 can i help you sir ?
@@md.hasanuzzaman0001 same problem
@@mustafaali6419 notice this line,, Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in E:\PHP\htdocs\login_php\index.php on line 12
1
please help me i have the same problem
What are the software that you uses in making this?
I designed the form using HTML5 and CSS3, And I used Php MySQL Database.
Xampp app and notepad
Useful video
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 (? (?
hi sir , how to open another from in php ?
you should write if(isset($_POST['LOGIN'])){}.But there you use username your from sumit filed write name="Login" but when userdo hit login but you here write username