Added: 3 years ago
From: rrphillips
Views: 72,121
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (39)

Sign In or Sign Up now to post a comment!
  • help help anyone, i put "id , int (4) not null, auto increment, and set to primary as shown but it displayed an error" ALTER TABLE `users` ADD `id` INT( 4 ) NOT NULL AUTO_INCREMENT

    MySQL said: Documentation

    #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key

  • PHP gurus

  • When I eventually get this working it would be nice for you to cover so that the form and database are more secure, making sure hackers cannot try to hack??

  • @dashbyictfd dat is true but how do u do dats de question

    i know how to hack like deze databases

    its easy

  • @samirdelvira joe kan speak very goed english, =)

  • I have followed the tutorials, I have all the files you have, 4 in total, the database setup the only thing I have added is that they verify the password but I cannot get it working, returning an error Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dba'@'localhost' (using password: YES) in /home/ictfdco/public_html/test­/checklogin.php on line 8

    yet this line is as yours is, I have also been through the video several times to double check no typos after last time.

  • @dashbyictfd your database password is wrong, check to make sure it is correct, if you have double quotes around it and have some type of special char you will have to escape them. I generally use single quotes around db variables for that reason.

  • Visit my channel. I offer a Free PHP User Registration System including: Log in, Log out, Register New User, Update User Profile

  • how i get this only on FTP ?

  • Get what?

  • where did he get his domain from

  • Dont use this SQL command at 1:52 !

    ->

    instead of klicking on 'SQL' klick on 'insert' there you can add your name etc. manuely

  • try it like this:

    $username = "john"; /* you can use a postformular for the username and password */

    $password = "1234";

    mysql_query("INSERT INTO `members` (`username`, `password`) VALUES ('$username', '$password')"); /* the problem ist you havn't the rows in the coloums, and id you don't need if you use A_I in mysql

    echo "ready!";

  • INSERT INTO `members`

    VALUES ( 1. 'john'. '1234' ) ; doesnt work 4 me some1 help please

  • its INSERT INTO `members` (rowone,rowtwo,rowthree) VALUES ('1','john','1234) //Call the rows first then the values

  • you write a dot

    no no no dot

    coma!!!!

  • How to run phpmyAdmin ??? please speak .... i'am finished login ....

  • download wampserver there u can click in the bottom right on the icon and open phpmyadmin

  • thanks for making this tutorial its always nice to here a human teach this stuff

  • i got this problem " MySQL returnerede:

    #1136 - Column count doesn't match value count at row 1 "

  • #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':' at line 1

    Yeah ! type `members` and the rest use single quotation marks

    no erros like this !

  • ALL OK.

    i did put : at end not ; !

  • In newest version of PHPMYADMIN is getting error ...

    Whne u edit that SQL get this -

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':' at line 1

    this is my line -

    INSERT INTO `members` VALUES (1,'john','1234'):

  • what is the link?

  • where do you download mtPHPadmin?? i know where to get it but the download wont start

  • You dont, you have to have a webhost server.

  • I JUST GET AN ERROR! HELP!

  • use WampServer2 its a program what has phpmyadmin installed all you do is left click on the icon in the taskbar and click on phpmyadmin and it will direct you to the web page. If it doesnt work, then you havnt set it up right.

  • how did you install the phpmyadmin, i downloaded it, but i don't have any idea to install it?

  • this is good tutorial but the mysql is a differwnt version of mysql than what i am using so if you are having problem's with it then as lostvoices82 points out you need to change 'members' to `members` this is the key to the left of the 1 key ````` great video 5 out of 5 for me thanks

  • i had that problem too BUT i found

    'members'

    "members" is incorrect

    yo have to you `members`

    using the key next to 1 the ~ Key not '""' key

  • Hi rrphillips,

    your videos are excellent

    10/10

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more