Это видео недоступно.
Сожалеем об этом.

User registration PHP and MySQL 1

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • Learn to create a complete PHP application like a pro: • How to create a blog P...
    A registration form receives username, email, and password and submits it to php code that processes the data and stores it in MySQL database.
    This is the first part of the video. Below are the links to the other two parts of the video:
    Part 2/3: • Login user PHP with My...
    Part 3/3: Logout User here.. • Logout user PHP and ...

Комментарии • 445

  • @AwaMelvine
    @AwaMelvine  5 лет назад +11

    💥UPDATE: Here is a better version of this video: ruclips.net/video/ShbHwaiyOps/видео.html

    • @BeTechnical1
      @BeTechnical1 4 года назад

      ruclips.net/video/Hx2yFs_wvyo/видео.html

    • @SolidGyan
      @SolidGyan 4 года назад

      bro i am from INDIA

    • @at494949
      @at494949 4 года назад

      Can you send source code for the hole project work php and sql to me please
      At494949@gmail.com
      Thank you

  • @james4475
    @james4475 7 лет назад +2

    Best tutorial on PHP Registration form with database ever.... keep it up.

  • @malighos
    @malighos 7 лет назад +14

    This is perfect ^_^ I can listen to a stand-up comedy show or some music and also get good information! Keep up the good work ^_^

  • @virsuryaircas
    @virsuryaircas 5 лет назад +1

    awsm video never miss the series coders..and thanks man instead of watching more videos your series make it simple easier and even understandable..>!!
    upload more tutorials bro

  • @zalanborsos8566
    @zalanborsos8566 7 лет назад +4

    Can you help me?
    Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\login
    egister.php on line 8

  • @josephm.mwakio5009
    @josephm.mwakio5009 7 лет назад +1

    My problem solved, thank you sir

  • @naiz4005
    @naiz4005 6 лет назад

    Hello!
    Thank u very much for yr so awesome video, now i learn php & will to watch yr videos

  • @giftmwapangidza9255
    @giftmwapangidza9255 7 лет назад

    Standard. My problem solved, thank you sir

  • @omkardhumal2262
    @omkardhumal2262 7 лет назад

    Thanks for your video and your source code it just work like magic

  • @lusinetalawally7611
    @lusinetalawally7611 6 лет назад

    Great video!!!. It was indeed a great help to my project!!!

  • @chachabeatboy1801
    @chachabeatboy1801 6 лет назад

    thank you bro, whoever you are. ive found the solution .. like finally. once again thanks !

  • @mrvnacosta
    @mrvnacosta 7 лет назад +1

    I used to follow your program to try in to my laptop and I am surely not mistaken of each codes you've applied but unfortunately there was an ERROR "Undefined variables: _SESSION" and I looked up again to your code and checked the codes were. there are no mistakes. now I am wondering what the problem was? can you help me?

  • @Kaptan_Gezer
    @Kaptan_Gezer 3 года назад +1

    Notice: session_start(): Ignoring session_start() because a session is already active in C:\xampp\htdocs\php-test\login
    egister.php on line 6
    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\php-test\login
    egister.php:7 Stack trace: #0 {main} thrown in C:\xampp\htdocs\php-test\login
    egister.php on line 7

  • @mrbrush4994
    @mrbrush4994 7 лет назад

    Thank you so much!! You are lifesaver !

  • @shoba3689
    @shoba3689 7 лет назад

    This is very useful to me, thank u so much..

  • @clevertechie
    @clevertechie 7 лет назад

    If you prefer to follow a video tutorial with voice, I created my own video on PHP Registration Form, it's a much more visually appealing looking form too, check it out ;)

  • @georgeasuncion18
    @georgeasuncion18 5 лет назад +2

    Tnx a lot its very helpful.

  • @rhenielilagan8800
    @rhenielilagan8800 7 лет назад

    Thanks a lot for making this video, it really helped me a lot since i am a beginner and also you providing the source was such a big help ^_^ Hope that you would continue making videos :)

  • @theresaway4075
    @theresaway4075 4 года назад +1

    Thank you brother for your silent teaching (^ω^)
    It very hepls me in doing my project from my collage

  • @ShivamTripathiiii
    @ShivamTripathiiii 5 лет назад

    Thanks for the superb code.

  • @poojapatil2272
    @poojapatil2272 6 лет назад

    Thank u so much ,,it helped me a lot .

  • @vipansingh6527
    @vipansingh6527 7 лет назад +1

    its very helpful idea to learn new php user

  • @Mark-ev1ge
    @Mark-ev1ge 8 лет назад +1

    Thank you very helpful tutorials!

    • @AwaMelvine
      @AwaMelvine  8 лет назад

      Thank you for watching

    • @Mark-ev1ge
      @Mark-ev1ge 8 лет назад

      +Awa Melvine Its thanks to your great tutorials that im watching :p

  • @infitunes.
    @infitunes. 7 лет назад +1

    I need your cooperation ....... your tutorial was so cooperative .. you can deserve subscribers ......

  • @CalvinDiguidig_1221
    @CalvinDiguidig_1221 7 лет назад +2

    thanks for the idea how to make login system

  • @pollabigoswami4826
    @pollabigoswami4826 4 года назад

    It'll be better for understanding,if you include audio.

  • @mediel6378
    @mediel6378 7 лет назад

    This is what I call an awesome video!!
    how can we insert a form data to an online database using mysqli?
    plz guid me!

  • @johnreycasipong3450
    @johnreycasipong3450 5 лет назад +2

    why when i try registering the tables was empty it just display first_name last_name ??

  • @louis-alexandrelapointe3884
    @louis-alexandrelapointe3884 6 лет назад

    Very useful thanks!

  • @OP3OnePiece3
    @OP3OnePiece3 5 лет назад

    Great video!

  • @stevenbingham4828
    @stevenbingham4828 6 лет назад +1

    Would have bothered to continue if it had sound.

  • @JustinTheVlogger
    @JustinTheVlogger 4 года назад

    Awa Melvin, I have a problem because every time I put the data on my text fields; the data that has been send to the database is only the password, but the email and username were empty. What is my problem? I followed your tutorial and something wrong happens, and also I change the "mysql_real_escape_string()" to "mysqli_real_escape_string()" 'cause I got an error when I try to use mysql instead of mysqli.

  • @josephm.mwakio5009
    @josephm.mwakio5009 7 лет назад +1

    helpfull indeed ,thank you

  • @naiemofficial_
    @naiemofficial_ 6 лет назад +1

    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\php
    egistration.php:10 Stack trace: #0 {main} thrown in C:\xampp\htdocs\php
    egistration.php on line 10

  • @victoriaxavier4471
    @victoriaxavier4471 5 лет назад +1

    Can you make tabulation system. Together with the code.

  • @sypheit5485
    @sypheit5485 4 года назад +1

    After registration the users table is empty...no users added

  • @ahmadadil7713
    @ahmadadil7713 7 лет назад

    sorry but i cant see the accounts in localhost

  • @ankitmakwana3141
    @ankitmakwana3141 7 лет назад +1

    good one bro

  • @BeerDipWomen
    @BeerDipWomen 5 лет назад

    If you're not able to see the page, save the file as register.html instead of .php

  • @jackiv1458
    @jackiv1458 7 лет назад

    Hello. I have a problem in line 2 "Parse error: syntax error, unexpected 'start' (T_STRING)". There that you write session_start() . What can i do for this problem?

  • @Laxmannful
    @Laxmannful 7 лет назад

    Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\web
    egister.php on line 8
    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\web
    egister.php:9 Stack trace: #0 {main} thrown in C:\xampp\htdocs\web
    egister.php on line 9
    shows like this..please help me out bruh..

  • @marcelinahibay7260
    @marcelinahibay7260 5 лет назад +2

    Anyone help me to the problem: session_start() A session had already started - ignoring and the FATAL ERROR : call to undefined function mysql_real_escape_string(). HELP HELP!

  • @elcollectorezzzz
    @elcollectorezzzz 6 лет назад

    Good Evening! I just wanna ask a question why this did not work? I copied everything and when I ran it in Chrome, it's just plain text. But when I placed the PHP tag below of the it appears but when I click register, nothing happened. Help me please. Thank you

  • @adryaknows2170
    @adryaknows2170 6 лет назад +2

    Sir can you please help me from this Thankyou for response sir :)
    Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\PAMS\myregister\Register.php on line 7
    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\PAMS\myregister\Register.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\PAMS\myregister\Register.php on line 8

  • @adebayoilesanmi1019
    @adebayoilesanmi1019 7 лет назад

    I Created the 'register user' successfully but the home page did not return the username and password check did not work for me

  • @Sprakintov
    @Sprakintov 7 лет назад

    Hey guys can you help me when I press the button it shows me this message
    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\miniprojet\user.php:6 Stack trace: #0 {main} thrown in C:\xampp\htdocs\miniprojet\user.php on line 6

  • @SurajYadav-oy6rr
    @SurajYadav-oy6rr 5 лет назад

    I am getting this error what should i do..
    Parse error: syntax error, unexpected '$_SESSION' (T_VARIABLE) in C:\xampp\htdocs\test
    egister.php on line 27
    and the line is $_SESSION['username'] = $username;
    help me!!

  • @DNYPloit
    @DNYPloit 7 лет назад +2

    good tutorial :)

  • @thomaspaul9804
    @thomaspaul9804 6 лет назад +1

    The two passwords do not match is not working for me? Why is that I typed in exactly what you did. When I put two passwords and no message pops up.

    • @trickydude164
      @trickydude164 6 лет назад

      Thomas Paul hey bro just put "echo"
      Like,
      echo $_SESSION['message'] = "The two passwords do not match";
      In else{} section then it will work

  • @mohitjesani4542
    @mohitjesani4542 6 лет назад

    Can you help me ! Totally all conditions working parfact but data not inserting in the table .
    So what to I can do ?

  • @nebeyuermiyas9023
    @nebeyuermiyas9023 7 лет назад

    The two passwords do not match is not working for me? Why is that I typed in exactly what you did. When I put two passwords that do not match all it does is reload the page and no message pops up.

  • @ashiashi3805
    @ashiashi3805 4 года назад

    Sir i have some problems ..mysql real scape string function is not connect my pc ..can you say how can it replace ?

  • @lennardstephencabahug5378
    @lennardstephencabahug5378 4 года назад

    After I clicked the register button , it does not display the username and email. Only the password but result like this -> d41d8cd98f00b204e9800998ecf8427e. How to fix this sir ? Thank you.

  • @shikhartandon823
    @shikhartandon823 7 лет назад

    how to check the condition that the same username or email is not entered again while registration?

  • @bilalmazhar100
    @bilalmazhar100 8 лет назад +4

    you are osm man thank u thank u bro

    • @AwaMelvine
      @AwaMelvine  8 лет назад +2

      Thanks for watching!

    • @muhammadahmad9949
      @muhammadahmad9949 7 лет назад

      i really like it.
      Sir i have a problem during practices this code in netbeans IDE.
      if(isset($_POST[])) ..etc
      the Netbeans can't declare the super global array plz sir any help.Error is in this code using netbeans.
      if(isset($_POST['Submit'])){
      $firstname= $_POST['u_firstname'];
      $lastname= $_POST['u_lastname'];
      $email= $_POST['u_email'];
      $phone= $_POST['u_phone'];
      $pass= $_POST['u_pass'];
      $confrmpass= $_POST['u_cnfrmpass'];
      }
      ERROR: Don't Access super global $_POST directly.....:(

    • @jeanslygonzales7473
      @jeanslygonzales7473 7 лет назад

      sir.i badly need your help.plzz!

    • @jeanslygonzales7473
      @jeanslygonzales7473 7 лет назад

      sir.i badly need your help. plzz!

  • @abdelrahmansaid6738
    @abdelrahmansaid6738 7 лет назад

    i am using the tutorial on html page so i wrote the php section at the first of the file and set form action "" only (null) to get php from current page, Unfortunately it doesn't work
    what can i do?, thanks

  • @nebby_15
    @nebby_15 5 лет назад

    I have an error with my email? Why is this? It says "Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\login
    egister.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login
    egister.php on line 8"
    Need help plsss huhu

  • @antonyokeno5867
    @antonyokeno5867 6 лет назад

    I'm getting the following error "Notice: session_start(): A session had already been started - ignoring in C:\xampp\htdocs\sample_php
    egister.php on line 6" when in try to test different passwords. I expected the message "The two passwords do not match" when i input different passwords. Any help please?

  • @maddash2225
    @maddash2225 6 лет назад

    its not working at all. Nothing will apear in my database, nothing will display on my screen. The thing just reloads

  • @UzairAhmad60
    @UzairAhmad60 5 лет назад

    Do you have sql courses too? please inform me as I am in need of this course, i liked your lecture

  • @parketlaminat6017
    @parketlaminat6017 7 лет назад

    Great tutorial! But now, how can I appendChild all users data to table in html?

  • @Andrei-mi9zn
    @Andrei-mi9zn 7 лет назад +2

    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string()
    Why ?

  • @Saket.gupta13
    @Saket.gupta13 6 лет назад

    thank you so much bro

  • @jaswantprabhakaran3011
    @jaswantprabhakaran3011 5 лет назад

    should we do something with mysql before coding the php part?

  • @vgglsilverroxetz5284
    @vgglsilverroxetz5284 7 лет назад

    everytime i type in the code i get this after clicking "submit"
    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /home/u383920063/public_html/Process/register.php:7 Stack trace: #0 {main} thrown in /home/u383920063/public_html/Process/register.php on line 7

  • @kunaltanwar2885
    @kunaltanwar2885 5 лет назад

    Can you please tell me how can i add remember me cookies in this and reset password too as well as profile picture option? I'm extremely thankful if you guide me or help me out Thank you!!

  • @jonaspalmiano7211
    @jonaspalmiano7211 7 лет назад

    Thank you so much!

  • @nitsujanimations7212
    @nitsujanimations7212 7 лет назад

    Hey dude how can i auto increment the id it says #1075 incorrect table definition; there can be only one auto column and it must be defined as a key

  • @alpergurel5081
    @alpergurel5081 6 лет назад

    It says "Sorry, the page you are looking for could not be found." after i press register button . Can someone help me about this ?

  • @DejViZ100
    @DejViZ100 7 лет назад

    Does anybody know what I do wrong? Code is the same. Please help!
    Warning: mysql_query() expects parameter 1 to be string, resource given in C:\WebServ\httpd\loginform\login.php on line 10
    Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\WebServ\httpd\loginform\login.php on line 11

  • @kamranrana9096
    @kamranrana9096 5 лет назад

    salam bhai i need help in registration from ? Question: when i enter record in register then some one field empty then redirect again register page and correct data display in input field after redirecting.mean to say i do not work again all data put into the input field .i only put mistakeable data.

  • @Paulina-pu5sv
    @Paulina-pu5sv 4 года назад

    When I submit the form, it just reloads the page. I think that this is because the form's action is set to 'register.php'. Shouldn't it be set to home.php?

  • @johnmarkbaltazar3410
    @johnmarkbaltazar3410 6 лет назад

    Parse error: syntax error, unexpected 'header' (T_STRING) in D:\Download\xampp\htdocs
    egister1.php on line 31
    what is this error?

  • @veronicalouverdis5535
    @veronicalouverdis5535 5 лет назад

    The database records are not reflecting correctly - every time I register, a record shows in the database but the username and email fields are empty, and the password is incorrect.
    Can anyone help?

  • @rgtalana6770
    @rgtalana6770 7 лет назад

    what should i do if my character(player) does not work to walk organized.,., because if i click the right arrow which is i declare my player is also get into left which is mirror.,.,., sorry for my english.,.,.,. i hope there's someone who can help me

  • @wonderofcricket9764
    @wonderofcricket9764 6 лет назад

    Welcome
    Notice: Undefined index: username in C:\xampp\htdocs\Project\erp\home.php on line 25
    home run but username undefine ???
    plz any sugges

  • @canaldotampinha4735
    @canaldotampinha4735 6 лет назад

    And what happens if you just go to localhost/.../home.php without logging in?

  • @moneyplayboy44
    @moneyplayboy44 6 лет назад

    parse error :syntax, unexpected 'if' (t_if) in c:xampp\htdocs\authentication
    egister. Php on line 6

  • @andrey.deocampo
    @andrey.deocampo 6 лет назад

    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\FP_R22_Autothentic_MNL
    eg.php:6 Stack trace: #0 {main} thrown in C:\xampp\htdocs\FP_R22_Autothentic_MNL
    eg.php on line 6
    And now i have this error

  • @jefflarasi4104
    @jefflarasi4104 5 лет назад

    help not working Parse error: syntax error, unexpected '$_SESSION' (T_VARIABLE) in C:\xampp\htdocs\login
    egister.php on line 16

  • @mohnarishi4988
    @mohnarishi4988 7 лет назад

    hello sir.. i tried this coding but i had error

  • @moneyplayboy44
    @moneyplayboy44 6 лет назад

    parse error :syntax, unexpected 'if' (t_if) in c:xampp\htdocs\authentication
    egister. Php on line 6 pls help me

  • @ravisankarpadavala4285
    @ravisankarpadavala4285 5 лет назад

    Home page is opened but the data is not showing in the users table in database.Please help!

  • @venkatnarahari
    @venkatnarahari 7 лет назад

    I am new to php. I get an Error 500 when i submit registration form with the above code can anyone help ??.Any help is appreciated.

  • @morariurazvan3009
    @morariurazvan3009 7 лет назад +1

    and if the passwords dont match? it does not work..

  • @keepdistancegaming7247
    @keepdistancegaming7247 7 лет назад +5

    can you help me! my problem is Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\Softeng\add.php on line 7

    • @mihaitastefan7910
      @mihaitastefan7910 7 лет назад

      thanks dude

    • @syntaxerror2043
      @syntaxerror2043 5 лет назад +1

      josh lazado how did you solve that problem ? we have the same problem . please help me

  • @DinoMitz
    @DinoMitz 7 лет назад

    Parse error: syntax error, unexpected $end in C:\xampp\htdocs
    egister.php on line 90, my last stateement ahs an error!, can you mplease help me the last statement is

  • @jaimeenofficial9400
    @jaimeenofficial9400 7 лет назад

    Parse error: syntax error, unexpected 'mysql_query' (T_STRING) in C:\xampp\htdocs
    egister.php on line 19

  • @rickyke2549
    @rickyke2549 6 лет назад

    Notice: Undefined index: username in C:\xampp2\htdocs\homes.php on line 20

  • @andrey.deocampo
    @andrey.deocampo 6 лет назад

    Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\FP_R22_Autothentic_MNL
    eg.php on line 65
    Hi i have an error like that i'm wondering why cause i totally copy your code. Please help. Thank you in advance

  • @eliudwanja3820
    @eliudwanja3820 6 лет назад

    best tutorail but no sound

  • @manofculture9948
    @manofculture9948 7 лет назад +1

    thank you bro

  • @ItsQuinten
    @ItsQuinten 6 лет назад

    I want to use this on my website and I cant figure out how to get it to work on there

  • @diygardeb
    @diygardeb 7 лет назад

    Sir I did the same but When I run register.php it says SYNTAX Error unexpected on line 23

  • @nibeditabehera3569
    @nibeditabehera3569 6 лет назад

    Notice: Undefined index: username in C:\xampp\htdocs\authentication\home.php on line 23 please can somebody help me out for this error

  • @elinipendomziray1377
    @elinipendomziray1377 7 лет назад

    i get the error
    Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\farm\farmer.php on line 47

  • @greenbranch8383
    @greenbranch8383 4 года назад

    thanks a lot

  • @Terresa601
    @Terresa601 5 лет назад

    means this will not detect if the same email is being used twice for registration?

  • @user-rq6cz3ph5v
    @user-rq6cz3ph5v 7 лет назад

    if email address is avainable also insert ?
    could you fix that things?

  • @wanfai8534
    @wanfai8534 7 лет назад +1

    Its works but , i cant see my username, email and password(looks empty) in my database, just the id are working.

    • @waqarulhassan4731
      @waqarulhassan4731 7 лет назад

      you should check your database where type is varchar and length/value=100 i think it will work for you

    • @sairamchowdary8818
      @sairamchowdary8818 6 лет назад

      id is auto increment