when i refresh the page 1) the password is submitted and showing success 2) in the database username is root and password is empty 3) and displaying that cpassword is not defined i want to submit the data only when i click the submit button please tell how to fix the error if someone gets same error
Great Harry Sir! but variable name $password for both the database connection and the form data (user password). This might be creating a conflict when inserting data into the database.
This is what I needed, please it's my humble request that you also teach us how to get a custom my account page which have his important notes saved by him, Plzzz plzz plzzz, continue php tutorial with this idea.... Plzz
bro you got a loophole in there! if the user doesn't enter the password during signup and registers, still his data is submitted and he's able to login just by his username/
Hello bro I have solve the problem for this just after the insert statement type this line if($password==null){ $sql=null; echo"please enter the password"; }
@@technicallysound1784 Best Use if(isset($_POST['password'])$_POST['password']!="") { Insert MySQL Codes } else echo 'Enter Password'; Also Add Required Attribute in Input tag
Program is showing no response when try to insert string data in mysql. But on inserting numeric data has no error inserted successfully. Please help....
Thank you Harry Sir! It's always a pleasure learning from you. I have tried this but facing some issues like it does not prompt any error for duplicate username. It does not prompt me any error for the wrong password as well. Please help.
Sir whenever I enter user registration after submitting data into database when I refresh the page it automatically inserts duplicate data in my database. please, sir, reply to me. thanks
hii bro mai ik project bna rha hu usme 3 user hai mai une select option throw login kra rha hu but mai cahta hu vo sb login k baad diffrent pages mai jai yo kese ho ga
sir me ne sara code asy e likha jsy ao ne likha pr jsy e me username or password wgra signup page me type krta hu to mre data database me ni jata? sir quide kre k kia error ho skta h? ya muje apna code drive file me provide kr dein
Bhai mera pass post method fail hojara hai 2 account database me save hota ich .. Jub hum new form fill karne jara uske baad post method not find aisa show hora
thanks harry bhai.....aap schm bohot talented ho aur khushi ki baat to yeh hai ki aap iss talent ko use krke hum jso ko educate kr rhe ho...proud of u
Just finished the halfway point video. 41 more videos to go and enjoying every minute of it!!!!
Same
Thankyou so much with the help of you I can able to learn such a expensive course without paying any money ❤
Best PHP tutorial in UA-cam
भाई आप कितनी अच्छी तरह से समझाते हो। आप कि सारी विडियो बहुत अच्छी है
I completed 40 videos in just 10 days without encountering any difficulties, unlike the React and JS tutorials where I often faced errors.
waahh bhai... it took more than a month to be here at video 41 🥲
3 million ho gae bro👏👏👏👏👏👏👏👏👏👏👏👏
Keep going , brother, you're cool
Thanks
i am a good teacher but i learn more here.
great sir i complete 40 video today
Love love ♥️♥️♥️♥️♥️
Mja aa rha hai hai seekhne me aaj to pakka bta dena login system php wala
Kal dokha ho gya tha😘☺️♥️😁
Thank you Harry sir.........your all videos are very helpful for me ...keep it up👍
thank you harry.. I appreciate your hard work ,it is very helpful to me.
i love when he evaluations it out embodying us
This video tutorial is very complex for not experienced students.
Best teacher in the world
Harry Bhai is best lots of love from my side Harry Bhai thankyou for making this course for us 😍
Harry bhai is the best❤❤
Congratulations 300k subscriber's too soon
when i refresh the page 1) the password is submitted and showing success
2) in the database username is root and password is empty
3) and displaying that cpassword is not defined
i want to submit the data only when i click the submit button
please tell how to fix the error if someone gets same error
Great Harry Sir!
but variable name $password for both the database connection and the form data (user password). This might be creating a conflict when inserting data into the database.
This is what I needed, please it's my humble request that you also teach us how to get a custom my account page which have his important notes saved by him,
Plzzz plzz plzzz, continue php tutorial with this idea.... Plzz
Save all info in sessions and display them in the view
Best channel in you tube.
Harry Bhai apne ek exceprion handle nahi kia...Agar username already exist krta hai to?...vo bhi to handle hona chahiye
Very Very Thank You Harry Bhai
holliiiiiglucamolllllliiiiii with your voice is so so so good😅
bro you got a loophole in there! if the user doesn't enter the password during signup and registers, still his data is submitted and he's able to login just by his username/
Just two if needed. If(!empty($username) && !empty($password)){
Inserti into users etc etc
}
Yes bro same with mine
Hello bro I have solve the problem for this just after the insert statement type this line
if($password==null){
$sql=null;
echo"please enter the password";
}
@@technicallysound1784 Best Use if(isset($_POST['password'])$_POST['password']!="")
{
Insert MySQL Codes
}
else
echo 'Enter Password';
Also Add Required Attribute in Input tag
bhai ek kaam kro username or password or confifm password sbke input type ke aage required laga do. Fir shi ho jayega
Aapke courses ka hi reference best hai
Bahat khub Harry bhai thank you ❤️❤️❤️❤️❤️
Our whole college learn coding from your channel
thanks Harry Sir you are amazing
keep going bro you channel are awesome in whole UA-cam..🙏🙏🙏
Accha h aap security perspective se bhi sikhate ho👍👍dev+sec💯
Will cont. From 17:21
Harry bhai big fan❤❤❤❤
PHP Tutorial #41 Sir maza a gea is ma
Thanks for sharing, your experience with us!
Big fan of yours harry
thank you sir for making this video. it was veerrrrrrrry useful and helful
Thanks a lot Bhaiyaaaaaa
hi Harry, its a wonderful experience learning. Please, share code too incase we need to tally code for finding errors in our code
12:04 PHP type juggling
Good Tutorial Bro
harry, reaching 2M subs!!!
THANK U FOR YOUR PYTHON TUTORIAL LOVED IT
helpful tutorials
hello bhai apne python project:1 ""jarvis"" mein jo folder banaya tha jisme slanting arrows thi vaisa folder kaise banate hai?
Nice job.
Program is showing no response when try to insert string data in mysql. But on inserting numeric data has no error inserted successfully.
Please help....
You are great man. Harry bhai kia hum 1 ache developer bn sakte han. Apki video bht helpful han.
Good Morning Bhaii!
Good morning
Harry bhai tumne to mauj kar dee.
Great video. Thank you
These video very helpful.
But data cannot inserted twice data only insert one time please give me a solution. 🙏
Thank you harrry bhaiya
Excellent bro
Tum bahut mast kaam karta hai maksud bhai Apun ko tere ko thankyou bolne ka hai.
Great work bro
Helpful 🙌🏻
Thank you Harry Sir! It's always a pleasure learning from you. I have tried this but facing some issues like it does not prompt any error for duplicate username. It does not prompt me any error for the wrong password as well. Please help.
Okay! I have found a solution for the same and I tried using select query to check the username if already exists and it worked.
what about $exists.. can you pls explain
@CodeWithHarry If username already exists..then how to show it with error??
Pls make more videos on Jarvis developement
Great work.
Timestamp 22:26. Bro always remember begani shadi mei hamesha ek abdula diwana mil hi jaata hai means a haker
Sir whenever I enter user registration after submitting data into database when I refresh the page it automatically inserts duplicate data in my database. please, sir, reply to me. thanks
Same problem
Congrats 🔥 u complete 3 lakh subscriber Keep shining ✨ Harry sir ♥️
May Allah bless you.
while signing up, it is taking the existing username from the database and again storing it to database as new entry. solve this problem.
Op content man.
appreciated harry
Sir mai aapko apna guru manta hu
Thank you sr....
Thank you
Sir, please make video master/detail insert/update/delete (Parents/child) or purchase order and it's detail type video in php
Sir sing up page me ek aur attributes add nhi kar shakte kay...
Sir, please make video on google Firebase
Harry bhaiya plz ek heart de do
Harry bhai c language ki playlist me aur videos nhi daaloge ? Kya vo course 76 videos me khatam ho gya?
$exists & username kese relate kar raha hai?
same question
Good
Shubham, name, password same ta jo hack ho jayeee😁😂
The output shows success but why isn't my database being updated.
Harry bhai $showError karne par html ending tag unexpected bata rha hai
Can u plz tell me i am writing the same code as u wrote but still got errors... why...?????
Same with me
whenever i refresh the signup page why my previous value is submitting to database??
can anyone answer
When I click on sign up I get object not found error :404 what shoud I do
hii bro mai ik project bna rha hu usme 3 user hai mai une select option throw login kra rha hu but mai cahta hu vo sb login k baad diffrent pages mai jai yo kese ho ga
Keep it up...
harry bhai zindabad
Please answer anybody 🙏🙏🙏
What is the use of $exist variable in this video ??
Or if some one doesn't enter any data just press submit button then 😕
FOR $EXIST VARIABLE
$sql = "SELECT * FROM `user` WHERE `user_email` = '$email'";
$result = mysqli_query($conn,$sql);
$emailNum = mysqli_num_rows($result);
if($emailNum>0){
$exist = true;
}else{
if($password == $cPassword){
$sql = "INSERT INTO `user` (`user_email`,`user_password`) VALUES ('$email', '$password')";
$result = mysqli_query($conn,$sql);
if($result){
$successAlert = true;
}
}
}
sir setCookie() kese cookie banati hai and set karte hai and sir setCookie function ka source code kese dekhe skte hai
sir plz reply for this
Even though we don't fill data in the form we can signup and store empty data in database.
jiska bhi blank data submit horaha hai woh html k input mei yeah user karo 'required' : , hope it will help:)
HARRY BHAI TUM BADIYA NHI PADTE HOO TO APP NEW STILE SE PADHO ME PARSAN HO GAYA HU SIR TUM SE KUCHUUU SAMJ ME NHI AA RHA HE SIR PLZ HELAP ME 🙂🤔🤐🌍🌍🌍🌍
In signup page without input data aslo get empty data stored in database how to fix
Give input fields as "required"
Thanks sir
sir me ne sara code asy e likha jsy ao ne likha pr jsy e me username or password wgra signup page me type krta hu to mre data database me ni jata? sir quide kre k kia error ho skta h? ya muje apna code drive file me provide kr dein
bhai iska source code ni dekh rha ha mere data save ni ho rha ha
Bhai mera pass post method fail hojara hai 2 account database me save hota ich .. Jub hum new form fill karne jara uske baad post method not find aisa show hora