1. mmtuts mmtuts

    Hi everyone 🙂 There is an updated version of this tutorial, which you can find on the following link:

  2. Jake evermore Jake evermore

    Hey~ I really like your vids!
    It's just that I got a problem:

    include 'dbh.php';

    $first = $_POST['first'];
    $last = $_POST['last'];
    $uid = $_POST['uid'];
    $pwd = $_POST['pwd'];

    echo $first."<br>";
    echo $last."<br>";
    echo $pwd."<br>";
    echo $uid."<br>";

    ^When I try and 'echo' this out I get:

    Notice: Undefined index: first in D:XampphtdocsSupermarktsignup.php on line 4

    Notice: Undefined index: last in D:XampphtdocsSupermarktsignup.php on line 5

    Notice: Undefined index: uid in D:XampphtdocsSupermarktsignup.php on line 6

    Notice: Undefined index: pwd in D:XampphtdocsSupermarktsignup.php on line 7

    Can someone please help me with this?

  3. mark61196 mark61196

    hi, at 24m, i replace
    if(!$row = $result->fetch_assoc()){
    if(!$row = mysqli_fetch_assoc($result)){
    but it give me an error:"Parse error: syntax error, unexpected '' (T_STRING) in C:xampphtdocsclogin.php on line 10"

    whats wrong?

    $conn = mysqli_connect("localhost", "root", "", "login");
    $uid = $_POST['username'];
    $pwd = $_POST['password'];

    $sql = "SELECT * FROM utenti WHERE username='$uid' AND password='$pwd'";
    $result = mysqli_query($conn, $sql);

    if(!$row = mysqli_fetch_assoc($result)){
    header("Location: login.php");
    $_SESSION['username'] = $row['username'];
    header("Location: index.php");

  4. Ikhouvan MANDJES Ikhouvan MANDJES

    a simpler way to look if your data has been send from the form the the other file is var_dump

  5. TheDerpyHoodie TheDerpyHoodie

    thanks for showing me how to make a login system so if i wanted to make an app or a website, i would know how to make a login system!

  6. Benjaminosa23 Benjaminosa23

    You are my hero, thank you so much for these videos

  7. blended blended

    i watched millions of tutorials…
    but this is something that worked.. :-O <3
    subbed 🙂
    because… Why not?

  8. Philcob Josol Philcob Josol

    This is what happens when I test the signup form. 15:40


    include 'dbh.php';

    $first = $_POST['first'];
    $last = $_POST['last'];
    $uid = $_POST['uid'];
    $pwd = $_POST['pwd'];

    echo $first."<br>";
    echo $last."<br>";
    echo $uid."<br>";
    echo $pwd."<br>";

  9. Dhruv Rathod Dhruv Rathod

    Loved it! I have never seen coding explained so easily. Thank you.

  10. AlphaCentauri6 AlphaCentauri6

    I'm stuck around the login form. It keeps throwing me "HTML Error 500".

  11. Mist Mist

    i need assistance, when i have copied you i can make a new user but when it comes to logging in i can login even if i have entered the wrong password? any help appreciated

  12. rashid maqbooljutt rashid maqbooljutt

    sir you are great

  13. Shamsuddeen Omacy Shamsuddeen Omacy

    Nice video! I like all your tutorials. Because, why no?

  14. FunGamers team FunGamers team

    Is mysql a great possibility for making a database for a website like facebook, youtube and spotify in the same time?

  15. reza jafari reza jafari

    I really wanna to thumb up all of your videos , but it is off

  16. MrZakrencony MrZakrencony

    i'm sorry to annoy you, how to prevent many people from logging on the same account?
    unless you explain that in one of the further videos, then i'll be sure to find it


Leave a Reply