I'm getting this error 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 ''users' WHERE 'username' = 'duh'' at line 1
@lifeg0eson666 - For some reason even when I use the login, all it ever says is the last else statement - You did not supply all the valid fields. It does it with the proper user and password, without completion, with wrong password, etc. Its not throwing any errors. Is there any reason this would happen?
But I can log in fine and all of the mysql works but the $session = $SESSION_['uid'] doesnt seem to. When I click home after logging in it doesnt think that ive logged in.
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 ''users' WHERE username'='admin'' at line 1
I really like your tutorials your easy to follow. But I ran into this problem. I don't know the time but this is the two lines that the coding is from. Its at the time where your building the login script. I watched that part twice and everything was correct. Here is my (your) coding.
if($user && $pass){ $sql = "SELECT * FROM 'users' WHERE username'='$user'";
sorry I am not been mean... I not sure if your dyslexic like me?? but its var char, as in variable character, not var care, that sounds like some kind of care bear. Although it was quite funny! Thanks for all your tutorials. Like the way you structure your code to really neat! Learning lots! Thanks!
haha well thats not how i say charictor or pronounce char, but am from england so, meh, haha. It still made me laugh for about five mins so its not an insult!
I am subscribing to your channel on youtube for some time, and in every video you are trying explain evrything without preparing a test before making vid.
You can make evrything before starting taping and print it so video will be a little shorter and your spech will be better.
Sorry for my english.
BTW. Good video, maybe you can make video with yousing OOP ? It will be much better than your present videos.
Heh, I don't want to waste the time I have so I just go with the flow. Like I said in the first part, I'm going step by step with each video. Thanks though :) I'll try to do some tuts for OOP after I finish the blog tut.
AND UHM....AND UHM!!! GOD.......
GlitchingWithAlandi 6 months ago
does this work in notepad???
TheTripleTip 11 months ago
@TheTripleTip ofc
GlitchingWithAlandi 6 months ago
I'm getting this error 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 ''users' WHERE 'username' = 'duh'' at line 1
any idea?
andreihrusca 1 year ago
i just get this error:
Parse error: syntax error, unexpected ':' in /home/a3478031/public_html/index.php on line 8
coolcam262 1 year ago
12.22 "why does it do that?!" hilarious
great tutorial dude but that quote cracked me up
goodrob1985 1 year ago
@goodrob1985 Haha, thanks.
lifeg0eson666 1 year ago
at 3.29 what are you echoing? its not very clear..
Edgebob217 2 years ago
i will ehh say that ehh this is a very long vidio ehh so ehh i dont wanna ehh see it :P no sry ehh i didnt mean it that way ehh bye
Tombi105 3 years ago
it doesnt work for me.
The valuefield does not appear. Only the text "You did not supply all the value fields!"
please help!
sQuille 3 years ago
Well, post source, else It's impossible to help you.
Petterss22 3 years ago
Oh Dude the tutorial is great but i don't understand what style you uplied to login in form at finish of tutorial??
input.select.???????{
border:1px solid #00000;
font-family:arial;
font-size:10pt;
color:#00000;
-----------------------------
pls need some hlp!
mysql_close();
3domapk 3 years ago
Thanks for this great video, this helps a lot for us begginers, you explain it very clearly. Please keep posting tutorials. :D :D :D
INGc3z4r 4 years ago 2
Thanks, will do :D
lifeg0eson666 4 years ago
echo "Awesome i am just strating with PHP but your movies help me so much :)";
include "Love You";
toelating 4 years ago
print_r($_THANKS);
:D
lifeg0eson666 4 years ago
@lifeg0eson666 - For some reason even when I use the login, all it ever says is the last else statement - You did not supply all the valid fields. It does it with the proper user and password, without completion, with wrong password, etc. Its not throwing any errors. Is there any reason this would happen?
JayGeePee1 1 year ago
@toelating
echo what kind of scripting language is that?
pause
wait for answer from youtube user toelating...
TheTripleTip 9 months ago
accept php
TheTripleTip 9 months ago
Great tutorial. Big improvement from the previous ones i seen.
Regards
vyseting 4 years ago
Thanks :D
lifeg0eson666 4 years ago
Finally got it! I used " $_session['uid'] = $row['id']; " in login.php instead of " $_SESSION['uid'] = $row['id']; "
I didn't know capitals were that important.
maxamilion91 4 years ago
Can you just send me the files so that I can check what ive got wrong?
maxamilion91 4 years ago
neoblob[dot]com/phpsquad/blog/source/
lifeg0eson666 4 years ago
Great video!
But I can log in fine and all of the mysql works but the $session = $SESSION_['uid'] doesnt seem to. When I click home after logging in it doesnt think that ive logged in.
Help?
maxamilion91 4 years ago
$_SESSION['uid'];
lifeg0eson666 4 years ago
Im having problems posting comments?!
maxamilion91 4 years ago
and here is my error.
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 ''users' WHERE username'='admin'' at line 1
Thanks.
ScoobyDooobyD00 4 years ago
You'll have to post the actual query.
lifeg0eson666 4 years ago
I'm sorry what do you mean by that?
ScoobyDooobyD00 4 years ago
The SQL query
lifeg0eson666 4 years ago
I really like your tutorials your easy to follow. But I ran into this problem. I don't know the time but this is the two lines that the coding is from. Its at the time where your building the login script. I watched that part twice and everything was correct. Here is my (your) coding.
if($user && $pass){ $sql = "SELECT * FROM 'users' WHERE username'='$user'";
ScoobyDooobyD00 4 years ago
sorry I am not been mean... I not sure if your dyslexic like me?? but its var char, as in variable character, not var care, that sounds like some kind of care bear. Although it was quite funny! Thanks for all your tutorials. Like the way you structure your code to really neat! Learning lots! Thanks!
TheaDragonSpirit 4 years ago
And the first syllable of character is char, which is pronounced as CARE. I'm saying varchar. Nice try though. Thanks though :)
lifeg0eson666 4 years ago
haha well thats not how i say charictor or pronounce char, but am from england so, meh, haha. It still made me laugh for about five mins so its not an insult!
TheaDragonSpirit 4 years ago
what is the website where you create a data base
pcmad1001 4 years ago
I just use XAMPP, or my hosting
lifeg0eson666 4 years ago
yeah same as me
zachattackpro 4 years ago
Realy nice Tut, Plz do more im gona stay in tommorow and watch them all. Yeah BTW you must have realy grown up lol. Your voice is alot deeper ;)
Dunny130 4 years ago
This has been flagged as spam show
Lol, thanks :D
lifeg0eson666 4 years ago
you voice changed alot dude..great tut, i love it
idibidi12345 4 years ago
This has been flagged as spam show
Lol, thanks :D
lifeg0eson666 4 years ago
I am subscribing to your channel on youtube for some time, and in every video you are trying explain evrything without preparing a test before making vid.
You can make evrything before starting taping and print it so video will be a little shorter and your spech will be better.
Sorry for my english.
BTW. Good video, maybe you can make video with yousing OOP ? It will be much better than your present videos.
s0resh 4 years ago 2
Heh, I don't want to waste the time I have so I just go with the flow. Like I said in the first part, I'm going step by step with each video. Thanks though :) I'll try to do some tuts for OOP after I finish the blog tut.
lifeg0eson666 4 years ago
GREAT!
Thekillerbn 4 years ago
Thanks :D
lifeg0eson666 4 years ago
cool... thanks...
arturoalej 4 years ago
No problem :)
lifeg0eson666 4 years ago
Awesome
zachattackpro 4 years ago
Thanks :)
lifeg0eson666 4 years ago