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
hey please help me...chocolatyboy30@gmail.com.its not working an error is coming
""""""""""""""""Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\checklogin.php on line 9
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??
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.
$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
#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
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
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.
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
This has been flagged as spam show
santstudios(dot)com
html-world(dot)net
order now
santstudios 2 months ago
This has been flagged as spam show
SilverMagics made a new channel called EpicSoftworks with loads of php videos! Check it out!
EpicSoftworks 8 months ago
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
StevenGamingTV 1 year ago
PHP gurus
samiwistler 1 year ago
This has been flagged as spam show
hey please help me...chocolatyboy30@gmail.com.its not working an error is coming
""""""""""""""""Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\checklogin.php on line 9
cannot connect"""""""""" please help now
chocolatyboy1000 1 year ago
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 1 year ago
@dashbyictfd dat is true but how do u do dats de question
i know how to hack like deze databases
its easy
samirdelvira 1 year ago 2
@samirdelvira joe kan speak very goed english, =)
Zedorek 9 months ago
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 1 year ago
@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.
skrillsnet 1 year ago
This has been flagged as spam show
Visit my channel. I offer a Free PHP User Registration System including: Log in, Log out, Register New User, Update User Profile
ashperfectimage 1 year ago
This has been flagged as spam show
Visit my channel. I offer a Free PHP User Registration System including: Log in, Log out, Register New User, Update User Profile
ashperfectimage 1 year ago
Visit my channel. I offer a Free PHP User Registration System including: Log in, Log out, Register New User, Update User Profile
ashperfectimage 1 year ago
how i get this only on FTP ?
hubsonq 1 year ago
Get what?
Shinykangaroo 1 year ago
where did he get his domain from
rapisreality93 2 years ago
Dont use this SQL command at 1:52 !
->
instead of klicking on 'SQL' klick on 'insert' there you can add your name etc. manuely
Namezzzzzzz 2 years ago
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!";
KDMW1234 2 years ago
INSERT INTO `members`
VALUES ( 1. 'john'. '1234' ) ; doesnt work 4 me some1 help please
Maltebyte 2 years ago
its INSERT INTO `members` (rowone,rowtwo,rowthree) VALUES ('1','john','1234) //Call the rows first then the values
Timzy921 2 years ago
you write a dot
no no no dot
coma!!!!
007drak007 2 years ago
How to run phpmyAdmin ??? please speak .... i'am finished login ....
coki218 2 years ago
download wampserver there u can click in the bottom right on the icon and open phpmyadmin
Maltebyte 2 years ago
thanks for making this tutorial its always nice to here a human teach this stuff
fibertech9 2 years ago
i got this problem " MySQL returnerede:
#1136 - Column count doesn't match value count at row 1 "
ViscyAndStille18 2 years ago
#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 !
raffademello 3 years ago
ALL OK.
i did put : at end not ; !
krisis32 3 years ago
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'):
krisis32 3 years ago 2
what is the link?
timboiscool 3 years ago
where do you download mtPHPadmin?? i know where to get it but the download wont start
xboxguy999 3 years ago
You dont, you have to have a webhost server.
FavoriteDesigns 3 years ago
I JUST GET AN ERROR! HELP!
psphacker159 3 years ago
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.
owenoj 3 years ago
how did you install the phpmyadmin, i downloaded it, but i don't have any idea to install it?
tristan123452000 3 years ago
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
tuckbloor 3 years ago
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
lostvoices82 3 years ago
Hi rrphillips,
your videos are excellent
10/10
Laoch111 3 years ago