Login & Register Web Form using PHP XAMPP Frontend, Backend & Database Connection (With Source Code)

Sdílet
Vložit
  • čas přidán 28. 06. 2024
  • In this comprehensive tutorial, you'll learn how to:
    Craft user-friendly login and registration forms using HTML, CSS, and JavaScript (Frontend Development). Connect your forms to a database for secure user information storage (Database Integration). Implement robust backend logic with PHP to handle user authentication (Backend Development).
    We'll break down each stage step-by-step, making it easy for beginners and experienced developers alike. Whether you're building a simple website or a complex application, this video equips you with the skills to implement a secure login system.
    You'll get access to the complete source code This way, you can follow along, experiment, and customize your login system to fit your specific needs.
    ___________________________________________________________________________
    ___________________________________________________________________________
    Source Code : github.com/francis-njenga/log...
    Portfolio : francis-njenga.vercel.app
    __________________________________________________________________________
    #programmer #web #webdevelopment #javascript #html #css #php #database #frontend #backend
    -----------------------------------------------------------------------------------------------------------------------
    -----------------------------------------------------------------------------------------------------------------------
    0:00 Introduction
    0:43 HTML
    5:33 CSS
    12:40 JavaScript
    15:10 Installing XAMPP
    18:25 PHP
  • Věda a technologie

Komentáře • 268

  • @francis_tech
    @francis_tech  Před 3 měsíci +14

    Thanks for watching😊😊

    • @FreddyzMontilla
      @FreddyzMontilla Před 2 měsíci +1

      ... umm im here

    • @AliMogra-xr9bp
      @AliMogra-xr9bp Před měsícem

      hi francis could please load a video that shows how to develop a web based crime record management system for law enforcement

  • @dark_chocolate_za
    @dark_chocolate_za Před 29 dny

    hey , came across your video and this what exactly needed for my personal school project ,but thank you man this content is what i need.

  • @rejiro8056
    @rejiro8056 Před měsícem +1

    This is what exactly I am looking for! Thank you for this tutorial. Such a life saver 🙏

    • @francis_tech
      @francis_tech  Před měsícem

      Glad it was helpful! if you get any issues let me know

  • @mbondecyril7944
    @mbondecyril7944 Před měsícem +3

    This is the best tutorial I've seen on this topic. Very detailed and clear explanation. Thank you for uploading, this has help with my project. You got a new subscriber.

    • @francis_tech
      @francis_tech  Před měsícem

      You're very welcome! we keep learning and improving our skills #devfordev

  • @peterenijay1309
    @peterenijay1309 Před 2 měsíci +1

    I don't usually subscribe to channels but you are a good explainer and I really needed this.i subscribed and liked the page. WILL COME BACK TO THIS COMMENT WHEN IT HIT 1 Million views

  • @FaraidunHussain
    @FaraidunHussain Před 3 měsíci +5

    Very well structured, great backend and fronted project, and very necessary for website development to know them.

  • @gayming4079
    @gayming4079 Před měsícem

    Thank you so much for this tutorial!!! Hoping for an another video where you make a system management connected to this!!❤❤❤

  • @GerraldLimbando
    @GerraldLimbando Před 2 měsíci

    Awesome.. well explained..
    Looking forward to seeing more content on your channel

    • @francis_tech
      @francis_tech  Před 2 měsíci +1

      Am Glad, you liked it, stay tuned for even better future content

  • @nameerah7588
    @nameerah7588 Před 21 dnem +1

    OMGGGGGGGGGGGGGGGGGG
    after many videos, i found the bestest one!!!! THANKS ALOT

  • @clintthesb4968
    @clintthesb4968 Před měsícem

    Bro even included the source code!. What a Chad! definitely gonna be following your content.

  • @khawajasaadqayyum2951
    @khawajasaadqayyum2951 Před měsícem

    One of the two the point tutorial. Hats off Man 😊

  • @plain5425
    @plain5425 Před měsícem

    very nice, you just got yourself a new subscriber. thanks

  • @vasanthkumar-tk9rx
    @vasanthkumar-tk9rx Před 2 měsíci

    You're explanation is awesome, and this tutorial very helpful.. ❤

    • @francis_tech
      @francis_tech  Před 2 měsíci

      thanks 🙏😊, stay tuned for more tutorials, happy coding

  • @agustinlyon8173
    @agustinlyon8173 Před měsícem

    Great video! Thanks a lot . it helped on my cs project

    • @francis_tech
      @francis_tech  Před měsícem

      glad was able to help, 😁 stay locked for more content 🙏

  • @john-bk4yd
    @john-bk4yd Před 2 měsíci

    Nice Tutorial well explained, you got yourself new sub

  • @LindaElsa-ri6ix
    @LindaElsa-ri6ix Před 2 měsíci

    Thanks, you got a new subscriber

  • @rakshithaveda8973
    @rakshithaveda8973 Před měsícem

    Thank you so much sir, really it helped me a lot, ur explanation was neat and clear, I got the results on one go, thank you so much.

    • @francis_tech
      @francis_tech  Před měsícem +1

      glad 😊 was able to help, looking forward for more and better tutorials

  • @raghadbburhan6360
    @raghadbburhan6360 Před 28 dny

    You are a lifesaver!

  • @walker_john
    @walker_john Před 3 měsíci +2

    Nice tutorial bro

  • @Azril275
    @Azril275 Před 16 dny

    I forget that website lol, thanks for remembering me man

  • @nothing23292
    @nothing23292 Před měsícem

    thank you so much sir, this is so helpfull 🙏

  • @TouchGupta
    @TouchGupta Před měsícem

    Well documented

  • @kellyice1403
    @kellyice1403 Před 2 měsíci

    Nice tutorial

  • @marcjulian9183
    @marcjulian9183 Před měsícem

    Thankyou so much!

  • @publiquenews1153
    @publiquenews1153 Před měsícem

    Nice video bro .hope y leting student have code source .that will let student following and asking you to do any video ...❤

  • @williamkakooza4603
    @williamkakooza4603 Před měsícem

    Thanks Professor

  • @LUCKYTARIMO
    @LUCKYTARIMO Před měsícem

    Jah bless you babangu

  • @hiteshvanzara7554
    @hiteshvanzara7554 Před 2 měsíci

    Thank you ❤

  • @mohamadantonathoillah7174
    @mohamadantonathoillah7174 Před 3 měsíci +1

    Awesome

  • @PollobChandro6
    @PollobChandro6 Před měsícem

    Nice

  • @rapx21x
    @rapx21x Před 6 dny

    Hi, thank you so much for content. I have a question. If I want to run it globally instead of locally, what should I do? Should I use MySQL or how should I connect this time, what should I change? Could you guide me please?

    • @francis_tech
      @francis_tech  Před 5 dny +1

      what happens is that you will have a php my admin in the hosting website, there you will create your database and connect it with its credentials, do research about the site you want to host in

  • @Oprekode
    @Oprekode Před 2 měsíci

    nice application

  • @user-es7ow6nt3p
    @user-es7ow6nt3p Před 18 dny

    nice

  • @Skub1shaaa
    @Skub1shaaa Před měsícem

    Well done

  • @guygb91
    @guygb91 Před 25 dny

    thank you

  • @edgarkevinmiranda3092
    @edgarkevinmiranda3092 Před měsícem

    good

  • @MS_Raunak
    @MS_Raunak Před 13 dny

    Hi Sir, Please make one solid playlist for JavaScript and React JS

    • @francis_tech
      @francis_tech  Před 13 dny

      actually am working on that in few weeks i will have those videos in my channel

  • @chhaiYii
    @chhaiYii Před 28 dny

    🎉🎉

  • @KimahLifeTV01
    @KimahLifeTV01 Před 3 měsíci

    Hello..Thanks fot this amaizing totorial. I have an error when trying to submit my form ..it states that $conn variable in connect.php isn't declared..whats might be the issue?

    • @francis_tech
      @francis_tech  Před 3 měsíci

      Hello, that means there is problem with connection to the database, make sure that your xampp sql and apache are on, also confirm your using the correct database name

    • @francis_tech
      @francis_tech  Před 3 měsíci

      if you downloaded the code from github, check in the video how i created database in phpmyadmin,

  • @halloftexts312
    @halloftexts312 Před 12 dny

    hi very great video better than anything I've watched before relieved me of my stress about the login and registration page but I have a problem when I change the HTML to PHP my page says cannot get /test.html (test.html is what I named it btw) what is the problem?

    • @francis_tech
      @francis_tech  Před 12 dny

      Glad it helped, also it wont be nice to name it .html considering there is php code in it, but you can add any html code in those php scripts

    • @halloftexts312
      @halloftexts312 Před 12 dny

      @@francis_tech i copied everything you have done but as soon as I change the HTML to PHP it doesn't work anymore

    • @francis_tech
      @francis_tech  Před 12 dny

      @@halloftexts312 yeah because using php you will need to set up xampp as server for php to run

  • @koshka_s_lozhkoy
    @koshka_s_lozhkoy Před 17 dny

    Hello! Thank you so much for the tutorial. I have only one problem - after registration I enter an email address and the password. It redirects me to the page where is written 'Not Found, Incorrect Email or Password' even when I enter correct email and password. What can be a problem in this case? Thank you in advance.

    • @francis_tech
      @francis_tech  Před 17 dny

      check if the email was inserted in the database

  • @mansa139
    @mansa139 Před měsícem

    Hii Frank thank you so much for the video.Wanted to ask that do we need to download any extension for php in Visual Studio Code?

    • @francis_tech
      @francis_tech  Před měsícem

      No need if you have xammp you are good to go,

    • @mansa139
      @mansa139 Před měsícem

      ​@@francis_tech thank you for the response. Also I am still getting an error for the local host part. Any suggestions please?

    • @francis_tech
      @francis_tech  Před měsícem

      @@mansa139 have you placed your code inside htdocs

    • @mansa139
      @mansa139 Před měsícem

      @@francis_tech yes I did :"). Still not working

    • @francis_tech
      @francis_tech  Před měsícem

      @@mansa139 any error you are getting that way i might know where the problem is

  • @What-FF99
    @What-FF99 Před 15 dny

    ❤❤❤❤

  • @shafeeqahabdulsabur6039

    Hello, so I completed everything and followed to the T. But when I fill in the boxes in the sign in, the sign in refreshes itself. Then from the register sign up, I fill in each box and it would go to the sign in box/page. I don't know why it won't show "Hello...." after filling everything in?!

    • @francis_tech
      @francis_tech  Před 9 dny

      hello have you connected to database, check if there is a user added

  • @f1ekser928
    @f1ekser928 Před měsícem

    Hello, when I write in the browser, localhost/login gives me
    (Not Found
    The requested URL was not found on this server.
    Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 80)
    what should I do?

    • @francis_tech
      @francis_tech  Před měsícem

      hello login should be a folder name in your htdocs do you have such a folder in your htdocs, if not use the name of folder with your code instead of login

  • @AbdurahmanDaacad-vn6ll
    @AbdurahmanDaacad-vn6ll Před 2 měsíci

    Please Make a video 'how to login/signin with Google or Facebook'

  • @random3314
    @random3314 Před měsícem

    The closing ?> tag should be omitted from files containing only PHP. Why I get this error on connect.php?

    • @francis_tech
      @francis_tech  Před měsícem

      hello no problem with that you can ignore it its just that maybe you have a php extension installed, though it is true when we have only php in a file we dont need to close it, go ahead and delete the ?> it should still work

  • @KrudskyML
    @KrudskyML Před měsícem

    What if i log in my Facebook using the logo below. Will it send to my SQL DATABASE?

    • @francis_tech
      @francis_tech  Před měsícem

      it does't work that way, facebook, google etc are authentication providers and they authenticate differently you wont have any information to store in sql database, i will do a video on that too

  • @degamorhonnwalterc.8250
    @degamorhonnwalterc.8250 Před 2 měsíci

    how do I design the homepage? should I create a new css file for designing the homepage?

    • @francis_tech
      @francis_tech  Před 2 měsíci

      hello, yes you can add a css in separate file and link it to your homepage.php

    • @jirehperez693
      @jirehperez693 Před 2 měsíci

      @@francis_tech how?

    • @francis_tech
      @francis_tech  Před 2 měsíci

      @@jirehperez693 hello

    • @francis_tech
      @francis_tech  Před 2 měsíci

      you can use the same css file or create a new file and link it to the hompage.php check how i connected the css file to the index.php

  • @zanimali4077
    @zanimali4077 Před 2 měsíci

    From minute 7:31 of the video I followed you carefully. However I realised the css code was only changing the register section and not the sign up section. How do i fix this pls help

    • @francis_tech
      @francis_tech  Před 2 měsíci

      Please check the classes used in sign up section are the same as register part, if they are the same then try ctrl+F5 to refresh the css that is if you are using a browser

  • @gamingtv1506
    @gamingtv1506 Před 19 dny

    Please i use your source code, everything is working fine but after a successful registration, i only get HELLO without the username. And also when i delete the css code, the styling is still there. Nothing changes. What could be the reason?

    • @francis_tech
      @francis_tech  Před 19 dny

      if css is still there press ctrl +F5 to clear cache, on displaying data ensure you are fetching the right column and session variable is set

    • @gamingtv1506
      @gamingtv1506 Před 19 dny

      When I do any changes to the styling it doesn't take effect. For example if I change the background color, the hover color or any changes it doesn't work. Even with the JavaScript. But when I created a different folder and created the same files and put the codes in them, and I changed the name of the database, the css is functioning but the font awesome icons move inside the input fields instead of them being outside. Also the JavaScript is not working on the new folder I have created.

  • @hehepo
    @hehepo Před měsícem

    how to solve this?
    Warning: Attempt to read property "num_rows" on bool in C:\xampp\htdocs\experiment for my capstone
    egister.php on line 14
    Error:Table 'login.users' doesn't exist

    • @francis_tech
      @francis_tech  Před měsícem +1

      hello friend you don't have table by name login.users in your database

    • @hehepo
      @hehepo Před měsícem

      @@francis_tech I already fix it. Thank you for your quick response... You deserve to be followed, thanks man 💙

    • @francis_tech
      @francis_tech  Před měsícem +1

      glad 😊 was able to help

  • @seeker3794
    @seeker3794 Před měsícem

    What about session and cookie for login?😊

    • @francis_tech
      @francis_tech  Před měsícem

      in next video, i wanted that one to be basic

  • @user-vh7nv6uu8i
    @user-vh7nv6uu8i Před 2 měsíci

    In sign in form , when im clicking on sign-up link im not getting the sign up form .. i have checked the code twice sir but still same issue .. what mistake have i done sir

    • @francis_tech
      @francis_tech  Před 2 měsíci +1

      hello friend i would like you to check the id used in form matches what you are using in javascript

  • @murwa1012
    @murwa1012 Před měsícem

    just curious how many years of exp do u have?

  • @orwellbarida7666
    @orwellbarida7666 Před měsícem

    Not Found
    The requested URL was not found on this server.
    Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.0.30 Server at localhost Port 80
    can you help me with this error please, i've been fixing this for days i tried everything

    • @francis_tech
      @francis_tech  Před měsícem

      first check if localhost/ is working
      if(it is working ){
      check and ensure you copy your files in htdocs and also ensure that the page you are redirecting to exists
      }
      else {
      it is a problem with your xammp installation you can uninstall and install again
      }

  • @user-ce3kl6hb6u
    @user-ce3kl6hb6u Před 9 dny

    I have a doubt,
    When i click signup button it doesn't open and i check all id's in js file and index as same. I got error is "cannot read property of null (reading 'addEventListener')

    • @francis_tech
      @francis_tech  Před 9 dny

      hello check the ids ensure they are the same including case

    • @user-ce3kl6hb6u
      @user-ce3kl6hb6u Před 9 dny

      I opened inspect and check s for console has error is uncaught TypeError: Cannot read properties of null (reading 'addEventListener')

    • @user-ce3kl6hb6u
      @user-ce3kl6hb6u Před 8 dny

      @@francis_tech I have error for fatal error uncaught mysqli_sql_exception access denied for user 'root'@'localhost' password no.I have write command 'skip-grant-tables' for my.ini in mySQL , but there is no use ,please write solution bro

  • @byron7300
    @byron7300 Před 27 dny

    Undefined array key "password" in C:\xampp\htdocs\login
    egister.php on line 39
    why does it say this? Can you explain.

    • @francis_tech
      @francis_tech  Před 26 dny

      make sure your input field for password have name set as password

  • @OK129W
    @OK129W Před 21 dnem

    Man im stuck at one place , when i click on Sign Up button, nothing happens , it doesnt get directed to register page , any help would be appreciative, thanks .

    • @francis_tech
      @francis_tech  Před 21 dnem

      please check the id you are using matches what you have in html including case

  • @user-iz6xd5zr8w
    @user-iz6xd5zr8w Před 3 měsíci +1

    How to connect my main project into navbar login button

    • @francis_tech
      @francis_tech  Před 3 měsíci

      Hello, It is possible you can modify the place i have used homepage.php and use your main page file name to direct user to your main page 21:00

    • @user-iz6xd5zr8w
      @user-iz6xd5zr8w Před 3 měsíci

      Ok I will modified

    • @francis_tech
      @francis_tech  Před 2 měsíci

      nice

  • @pinkmochi7802
    @pinkmochi7802 Před měsícem

    Hi I got fatal error uncaught mysqli_sql_exception access denied for user root@local host using password no please help me to debug it

    • @francis_tech
      @francis_tech  Před měsícem +1

      This is problem with connecting to the database, please check you are using the correct database name

    • @pinkmochi7802
      @pinkmochi7802 Před měsícem

      @@francis_tech I checked and corrected it but now ive got another error its like I can access data of ppl who have signed in or registered but its visible in mysql but not in phpmyadmin can you help me With tht

  • @AdrienMirza
    @AdrienMirza Před měsícem

    Please Create refferal system under that website

    • @francis_tech
      @francis_tech  Před měsícem

      thanks for that idea i will consider it for future video

  • @junaidbilal5375
    @junaidbilal5375 Před 20 dny

    hi sir im getting "Error:Field 'id' doesn't have a default value" after trying in localhost

    • @francis_tech
      @francis_tech  Před 20 dny

      you were supposed to mark auto increment when creating database

  • @BharathKumar-ku5sh
    @BharathKumar-ku5sh Před 9 dny

    Can we deploy this website in online by github with our own domain name
    Pls anyone tell me

    • @francis_tech
      @francis_tech  Před 9 dny

      hello yeah, you can do that using vercel or github pages

  • @shaikgousunnisa2666
    @shaikgousunnisa2666 Před 8 dny

    Bro i dont have htdocs in xaamp folder what can i do

  • @shyambalanagu8843
    @shyambalanagu8843 Před měsícem

    im getting an error called The requested URL was not found on this server

    • @francis_tech
      @francis_tech  Před měsícem

      hello dev, please check whether you have the file you are directing the user after successful login, and make sure the name matches a file you have header("Location: homepage.php"); for instance here you must have homepage.php in the same directory as the register.php

  • @tiktoksl6345
    @tiktoksl6345 Před 3 měsíci

    Warning: Undefined array key "password" in C:\xampp\htdocs\login-form-with-database-connection-main
    egister.php on line 33 why show thiss error

    • @francis_tech
      @francis_tech  Před 2 měsíci

      Hello, please redownload the github code, index.php there was an issue but i have rectified that

  • @user-ui4hp9gp1y
    @user-ui4hp9gp1y Před měsícem

    Script.js page is not connecting with the index.php page...
    Due to that when clicking on the sign up button nothing performed ☹️
    My bca final year project is on 8th may i am in trouble...😣

    • @francis_tech
      @francis_tech  Před měsícem

      hello 👋 please check on the id, in script file match id in index.php

    • @user-ui4hp9gp1y
      @user-ui4hp9gp1y Před měsícem

      Thanku so much my mistake was "signup" instead of "signUp"...✨♥️

  • @wiemzayene
    @wiemzayene Před 2 měsíci

    Fatal error: Uncaught Error: Class "mysqli" not found in C:\projet_vente\login-form-with-database-connection-main\connect.php:7 Stack trace: #0 C:\projet_vente\login-form-with-database-connection-main
    egister.php(3): include() #1 {main} thrown in C:\projet_vente\login-form-with-database-connection-main\connect.php on line 7

    • @francis_tech
      @francis_tech  Před 2 měsíci

      Move the folder downloaded to htdocs after installing xammp

  • @Adithya659
    @Adithya659 Před měsícem

    Sir I have completed the project but I can't activate Email .email is typing them corresponding password is typing but @ this symbol should not contain the symbol what is the solution sir

    • @francis_tech
      @francis_tech  Před měsícem +1

      when you have input type email, you should enter only a valid email address, check your form what input types you have ensure also for password you have password

  • @Horimiya_vlogs
    @Horimiya_vlogs Před měsícem

    Can you add log out?

    • @francis_tech
      @francis_tech  Před měsícem

      Actually i included Logout in the video, have you watched the entire video 😁😁

  • @edgarkevinmiranda3092
    @edgarkevinmiranda3092 Před měsícem

    brother, lastly I don't get my name, I only get "HELLO :)" but it doesn't show the name of the user who registered. HELP ME PLEASE :/

    • @francis_tech
      @francis_tech  Před měsícem

      check if the session being passed in register.php matches a column in the database, also check on homepage.php the session variable you are accessing is correct

  • @mlbbshorts3548
    @mlbbshorts3548 Před 2 dny

    pls answer why cant i seee the actual password of the accounts. it just shows random numbers

  • @durgalingaraja7148
    @durgalingaraja7148 Před měsícem

    Sir its not working in crome that when i put localhost/login

    • @francis_tech
      @francis_tech  Před měsícem

      hey watch the video on how to set up every thing, and be specific on the error you are getting

    • @wildrift8077
      @wildrift8077 Před měsícem

      this one is the format localhost/name of your folder

  • @kamalrautela9694
    @kamalrautela9694 Před 2 měsíci +1

    everything is working , but as soon as i login , it shows just a blank white screen , with no name popup or logout button , can you please help me with it

    • @kamalrautela9694
      @kamalrautela9694 Před 2 měsíci

      try to please help me out asap, i have to use it in my college ,

    • @kamalrautela9694
      @kamalrautela9694 Před 2 měsíci

      its says This page isn’t workinglocalhost is currently unable to handle this request.
      HTTP ERROR 500

    • @francis_tech
      @francis_tech  Před 2 měsíci

      hello dev, Check if the database connection is correct, and also check the column names you want to access matches what you have in your database

    • @kamalrautela9694
      @kamalrautela9694 Před 2 měsíci

      @@francis_techit’s says the requested url was not found on this server

    • @kamalrautela9694
      @kamalrautela9694 Před 2 měsíci

      @@francis_techhave you written fName in code or other
      I have used your codes and everything in video

  • @nagasudhamr4574
    @nagasudhamr4574 Před měsícem

    Sir i am getting an error called localhost is currently unable yo handle this request
    Help me to solve this sir

    • @francis_tech
      @francis_tech  Před měsícem

      hello friend, have you installed xammp

  • @ushapusrikanth
    @ushapusrikanth Před 9 dny

    Hii sir i want one website sir that website is multiple cctv and different watch live or preview my website this is possible or un possible

    • @ushapusrikanth
      @ushapusrikanth Před 9 dny

      That type coding I want sir

    • @francis_tech
      @francis_tech  Před 8 dny

      Modern CCTV systems usually come with their own software, You can access live previews using the camera's IP address. Please research this further

    • @ushapusrikanth
      @ushapusrikanth Před 8 dny

      @@francis_tech tq response sir you can any help me?

  • @talhajobayer8666
    @talhajobayer8666 Před měsícem

    I have copied all code but box and logo is coming different.. Why is it..?

    • @francis_tech
      @francis_tech  Před měsícem

      hello i used font awesome, icons it should work , try inspecting

    • @talhajobayer8666
      @talhajobayer8666 Před měsícem

      @@francis_tech its working but after clicking sign up that page isnt coming?

  • @marlluzon4031
    @marlluzon4031 Před měsícem +2

    I need your help

    • @marlluzon4031
      @marlluzon4031 Před měsícem +1

      Mysql in xamp isn't starting, can you help me

    • @francis_tech
      @francis_tech  Před měsícem +1

      Okay that's a problem with port being used by another software, that means maybe you have another local server or database for instance something like mysql software,
      if { you have software using that port please disable it }
      else {
      try reinstalling xammp again
      }
      you can also search for a video on how you can change xampp port

    • @marlluzon4031
      @marlluzon4031 Před měsícem

      ​@@francis_techwhere should I entry that code?

    • @marlluzon4031
      @marlluzon4031 Před měsícem

      ​@@francis_techwhere should I entry that code?

    • @marlluzon4031
      @marlluzon4031 Před měsícem +2

      ​@@francis_tech is there part2 for homepage ang logout?

  • @nicolecrusim8029
    @nicolecrusim8029 Před měsícem

    I just copied all the codes but when I click sign up button, it shows up a blank page and on the site it goes to register.php

    • @francis_tech
      @francis_tech  Před měsícem

      If you got the code from github, ensure your database have all the field i created in the video, also ensure all the input fields name matches what is used in register.php, also ensure you have files homepage.php and index.php

    • @nicolecrusim8029
      @nicolecrusim8029 Před měsícem

      @@francis_tech I double check everything but it still does not work

    • @francis_tech
      @francis_tech  Před měsícem +1

      if it doesn't work upload your code to github and share the link i will check

    • @nicolecrusim8029
      @nicolecrusim8029 Před měsícem

      @@francis_tech I will upload it

    • @nicolecrusim8029
      @nicolecrusim8029 Před měsícem

      I cant send the link here I dont know why

  • @IshmaelMohudi
    @IshmaelMohudi Před 2 měsíci

    is the source code provided free to use ?

  • @joefrancecabras9471
    @joefrancecabras9471 Před 2 měsíci

    Hello when i click sign up it will not go to register huhu i follow all the steps

    • @francis_tech
      @francis_tech  Před 2 měsíci

      inspect the page on your browser, and check the error displayed on console after clicking the button

    • @dotatwo7373
      @dotatwo7373 Před 2 měsíci

      @@francis_tech Hello, thank you for your work. I am encountering this problem as well.
      upon checking console it produces this error message "Uncaught TypeError: Cannot read properties of null (reading 'style')
      at HTMLButtonElement. (script.js:8:16)". Your response is greatly appreciated

    • @francis_tech
      @francis_tech  Před 2 měsíci

      @@dotatwo7373 okay make sure all the id names used in the javascript code match what we have in the html page, let me know if that works

    • @dotatwo7373
      @dotatwo7373 Před 2 měsíci

      @@francis_tech OMG! how did I not see that. from smaller case 'u' to uppercase 'U'.hahah Thank you so much!

    • @francis_tech
      @francis_tech  Před 2 měsíci

      @@dotatwo7373 nice it has worked if you encounter any other problem feel free to ask

  • @Cartoonsi
    @Cartoonsi Před 17 dny

    i can not go signup to login page

    • @francis_tech
      @francis_tech  Před 17 dny

      please check the id you are using in javascript matches the id in HTML

    • @Cartoonsi
      @Cartoonsi Před 17 dny

      @@francis_tech its all correct when we give a data and click to sign up it goes on blank page also the data is not inserting in the database

    • @francis_tech
      @francis_tech  Před 17 dny

      @@Cartoonsi hey please check on my description i have full source code link, compare it with your code, also ensure database name matches what you have in the code

    • @Cartoonsi
      @Cartoonsi Před 17 dny

      @@francis_tech solve thanks

  • @user-he5zk6pq3s
    @user-he5zk6pq3s Před 19 dny

    plz share your code or github link

  • @DevinMcGee-vl6dz
    @DevinMcGee-vl6dz Před měsícem

    Is it anyone you can email me the codes for each file ?

    • @francis_tech
      @francis_tech  Před měsícem

      use GitHub link to download, check description

  • @shivanshsharma652
    @shivanshsharma652 Před měsícem

    my backend is not work

    • @shivanshsharma652
      @shivanshsharma652 Před měsícem

      i have copied your code in github

    • @francis_tech
      @francis_tech  Před měsícem

      please watch the video on how to create database, installing xampp and how to configure database, all in this video

    • @francis_tech
      @francis_tech  Před měsícem

      tell me the error you are getting

  • @TorjoyDasGupto-fo9ps
    @TorjoyDasGupto-fo9ps Před měsícem

    Table tai show koralen na concept not clear 🤦‍♂️

    • @francis_tech
      @francis_tech  Před měsícem

      hello please show me the error you are getting i may be able to help

  • @What-FF99
    @What-FF99 Před 15 dny

    There is no Html in your source code.

    • @francis_tech
      @francis_tech  Před 15 dny +1

      watch the video, 🤣 i modified along the way

  • @ezesolomon-oe1oh
    @ezesolomon-oe1oh Před 2 měsíci +3

    can I get the source code

    • @francis_tech
      @francis_tech  Před 2 měsíci +2

      Yeah for sure, i have shared github link

  • @ethio_tube871
    @ethio_tube871 Před 3 měsíci +2

    please send the source code

    • @francis_tech
      @francis_tech  Před 3 měsíci

      i have shared source code, check description for github link

  • @henryeffiom7610
    @henryeffiom7610 Před 12 dny

    Good one
    Please you didn’t test the connection and I have issue with mine as I was following you .
    Warning Underfoned array key in register .php line 7 and 8

    • @francis_tech
      @francis_tech  Před 12 dny

      check all input fields have a name, and you are accessing the names properly

  • @priyanshranjan2829
    @priyanshranjan2829 Před 7 dny +1

    Fatal error: Uncaught mysqli_sql_exception: Table 'login.users' doesn't exist in C:\xampp\htdocs\loginpage
    egister.php:13 Stack trace: #0 C:\xampp\htdocs\loginpage
    egister.php(13): mysqli->query('SELECT * From u...') #1 {main} thrown in C:\xampp\htdocs\loginpage
    egister.php on line 13
    getting this error when i login in through the localhost please help

    • @francis_tech
      @francis_tech  Před 7 dny +1

      hello Check your database, and create table users

    • @priyanshranjan2829
      @priyanshranjan2829 Před 7 dny

      @@francis_tech table user has already been created

    • @francis_tech
      @francis_tech  Před 7 dny +1

      @@priyanshranjan2829 if you have table users created why are you trying to use table login.users instead of user

    • @priyanshranjan2829
      @priyanshranjan2829 Před 7 dny

      @@francis_tech thankyou for helping now its working

  • @realdex7er
    @realdex7er Před 27 dny +1

    Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\form\connect.php:7 Stack trace: #0 C:\xampp\htdocs\form\connect.php(7): mysqli->__construct('localhost', 'root', Object(SensitiveParameterValue), 'login') #1 C:\xampp\htdocs\form
    egister.php(3): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\form\connect.php on line 7
    I am getting this error can you check it !!

    • @francis_tech
      @francis_tech  Před 27 dny

      Hello ensure mysql is running, also make sure you have database by the name login

  • @priyanshranjan2829
    @priyanshranjan2829 Před dnem

    Fatal error: Uncaught mysqli_sql_exception: Duplicate entry '0' for key 'PRIMARY' in C:\xampp\htdocs\Login
    egister.php:20 Stack trace: #0 C:\xampp\htdocs\Login
    egister.php(20): mysqli->query('INSERT INTO use...') #1 {main} thrown in C:\xampp\htdocs\Login
    egister.php on line 20 this error is showing
    sir plz help

    • @francis_tech
      @francis_tech  Před 17 hodinami

      hello, you were supposed to mark the id field as auto increment

  • @random3314
    @random3314 Před měsícem

    : Uncaught Error: Class "mysqli" not found in C:\xampp\htdocs\Login\connect.php:8 Stack trace: #0 C:\xampp\htdocs\Login
    egister.php(3): include() #1 {main} thrown in C:\xampp\htdocs\Login\connect.php on line 8.
    please help me bro

    • @francis_tech
      @francis_tech  Před měsícem

      hello have you started, mysql on your xammp control panel

    • @random3314
      @random3314 Před měsícem

      @@francis_tech yes i started it already

    • @francis_tech
      @francis_tech  Před měsícem

      @@random3314 Open the php.ini file. The default location for XAMPP on location C:\xampp\php\php.ini.
      Search for the line extension=mysqli. If it's preceded by a semicolon (;), remove the semicolon to uncomment the line.
      If the line extension=mysqli is missing, add it to the file.
      Save the changes

    • @random3314
      @random3314 Před měsícem

      @@francis_tech i aready done it but it same problem.

  • @mdtajyusuf2306
    @mdtajyusuf2306 Před 2 měsíci

    Fatal error: Uncaught mysqli_sql_exception: Unknown column 'firstName' in 'field list' in C:\xampp\htdocs\login
    egister.php:20 Stack trace: #0 C:\xampp\htdocs\login
    egister.php(20): mysqli->query('INSERT INTO use...') #1 {main} thrown in C:\xampp\htdocs\login
    egister.php on line 20
    after clicking on signup im getting this

    • @francis_tech
      @francis_tech  Před 2 měsíci +1

      hello friend please counter check if you have a column named firstName in your database

    • @mdtajyusuf2306
      @mdtajyusuf2306 Před 2 měsíci

      @@francis_tech yes I found it thank you

    • @francis_tech
      @francis_tech  Před 2 měsíci +1

      @@mdtajyusuf2306 okay nice happy coding

  • @dephilztutorial
    @dephilztutorial Před 17 dny

    Bro do u have a whatsapp group or a community

    • @francis_tech
      @francis_tech  Před 16 dny

      not yet, but you can reach out Francis-njenga.vercel.app

  • @octaviaofficial86
    @octaviaofficial86 Před 2 měsíci

    Warning: Undefined variable $conn in C:\xampp\htdocs\Singup
    egister.php on line 13
    Fatal error: Uncaught Error: Call to a member function query() on null in C:\xampp\htdocs\Singup
    egister.php:13 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Singup
    egister.php on line 13
    bro why turns out like this

    • @francis_tech
      @francis_tech  Před 2 měsíci

      hello make sure you have included include 'connect.php'; and aslo ensure the database name you created in phpmyadmin matches the database in connect.php

  • @wiemzayene
    @wiemzayene Před 2 měsíci

    Fatal error: Uncaught Error: Class "mysqli" not found in C:\projet_vente\login-form-with-database-connection-main\connect.php:7 Stack trace: #0 C:\projet_vente\login-form-with-database-connection-main
    egister.php(3): include() #1 {main} thrown in C:\projet_vente\login-form-with-database-connection-main\connect.php on line 7

    • @francis_tech
      @francis_tech  Před 2 měsíci

      move the folder to htdocs and let me know if it is working