I dont know why,but if i have for example 4 users nonactivated and one from them is going to activate, rest of them actives automaticly as well...what the?
Notice: Undefined index: id in (my file location\activate,php) on line 6
Notice: Undefined index: code in (my file location\activate.php) on line 7
I understand the error is on lines 6 and 7 and it doesn't understand the $id and $code. However i do not know how to fix it. Could you please take a look at my code? Please provide your email... thanks
Ook I dont understand .... i get this warning message ... Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/phplogtest2/activate.php on line 14
Invalid id or activation code on line 14 is this $checknum = mysql_num_rows($check);
Hi Alex, again your tutorials are awesome and very helpful. Is that possible you create a tutorial for "forgot your password?" and then send a provisory password by email, so the person will be able to login and reset/create a new password? I mean, do you have any tutorial for this?Thanks a lot
@msborat96 it should be "$check = mysql_query("SELECT * FROM users WHERE women='$id' AND random='$8:30'");" noo seriously I have same problem.. random isn't set.
@OnlyInNaziGermany I read this at the beginning of watching the video, but had completely forgot about it by the time I got there. That was priceless!
I sent mails to my yahoo account to check mail function but there were no mails also i sent to my gmail account and it shows them ....Why my mail Function doesn't work with Yahoo...Please help me??
question: when the user submits and the data is sent to the db.. and the echo shows on the page that it was sent. what happens if i place the php code on the bottom of a page and when submitted it refreshes and all the data is submitted but now the page is on top..and the echo is at the bottom of the page... how can i stay where it shows me the echo once submitted.. instead of being placed on the top part of the page??
I added some fields in the code and into my datebase. I get it to say registered and i check the email, then when i click the link I keep geting data missing. I have all of the fields in the same order as the database. Can you help me??
ALEX == Boss
fruitman89 1 month ago
woman scream at 8:30. is it in a brothel? jk
mezigpo 1 month ago 2
I dont know why,but if i have for example 4 users nonactivated and one from them is going to activate, rest of them actives automaticly as well...what the?
Royalllllll 2 months ago
@Royalllllll now, "id" shows which ine to activate
lauris47 1 month ago
This has been flagged as spam show
8:31 random scream haha
StephenBardutz 5 months ago
Comment removed
StephenBardutz 5 months ago
woman scream at 8:30 xD
ultrastatic100 5 months ago in playlist Register & Login
@ultrastatic100 Actually the woman screams at 8:31
416905com 4 months ago in playlist Register & Login
woman scream at 8:31 xD
ultrastatic100 5 months ago in playlist Register & Login
I need help because, I keep getting
Notice: Undefined index: id in (my file location\activate,php) on line 6
Notice: Undefined index: code in (my file location\activate.php) on line 7
I understand the error is on lines 6 and 7 and it doesn't understand the $id and $code. However i do not know how to fix it. Could you please take a look at my code? Please provide your email... thanks
TheRishikumra 5 months ago
I didn't understand the use of the GET, and it's producing some errors in the page. Can somebody please explain why? Thanks.
lyndr29 5 months ago
@lyndr29 To help make it user friendly so that the user doesnt need to type any thing
khandaniyaal2000 3 months ago
around 6:48 LOL hilarious
HumanLife52627 6 months ago
Ook I dont understand .... i get this warning message ... Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/phplogtest2/activate.php on line 14
Invalid id or activation code on line 14 is this $checknum = mysql_num_rows($check);
HorizonEW 7 months ago
@HorizonEW
check your query ... here is the code ... den u get 2 know whats wrong in it ...
if (!$check) { // add this check. die('Invalid query: ' . mysql_error());
}
cutesheikh1000 6 months ago
Hello, sorry for my English ... I do not speak very well. I have a mistake entering the data manually.
The error is as follows:
mysql_num_rows() expects parameter 1 to be resource
What could be happening?
darklink51 7 months ago
what is the different beetwen of this TUT and Register & Login: Email activation (Part 2,1)?
thanks nice tuts
nnngggiii 7 months ago
Hey what video is it that has the construction of the connect.php, am kinda stuck here with out checking that one out!
vader0109 8 months ago
@vader0109 I don't think he made a vid about that, but here's the code inside it:
$connect = mysql_connect("localhost", "root", "") or die("Couldn't connect to database");
mysql_select_db("phplogin") or die("Couldn't connect to database");
Grkgermn333 7 months ago
@Grkgermn333 he did, register and login part 1, watch them all from the start
terraf1rma 6 months ago
I have this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /public_html/home/phplogin/activate.php on line 16
Invalid ID or Activation code.
Does anyone know how I can solve this?
ikzegmenaamniet 8 months ago
This has been flagged as spam show
Why we need a, latin bitch busizz4me.info
DonsanUsake569 1 year ago
alex we should put active=1 in log in page because we check just for username and password, so we log in even if the avtivation is 0
matrixITALIA 1 year ago
what about the part 2? wasnìt it good? or this is just an otherway 4 actvation? thanks so much from Italy :)
matrixITALIA 1 year ago
Hi Alex, again your tutorials are awesome and very helpful. Is that possible you create a tutorial for "forgot your password?" and then send a provisory password by email, so the person will be able to login and reset/create a new password? I mean, do you have any tutorial for this?Thanks a lot
jackrios2 1 year ago
This has been flagged as spam show
Heck out the thousands of profiles for Naughty women mworld5.info
MARGRETDOLORES 1 year ago
8:31 what the sound wah!!!
himankerable 1 year ago
what is wrong with this lie of code
$check = mysql_query("SELECT * FROM users WHERE id='$id' AND random='$code'");
msborat96 1 year ago 4
@msborat96 did u setup
$connect = mysql_connect('host','username','password')
mysql_select_db("date base name");
and THEN put
$check = mysql_query("SELECT * FROM users WHERE id='$id' AND random='$code'");
halogreg8889 1 year ago
Comment removed
khandaniyaal2000 3 months ago
This has been flagged as spam show
@msborat96 it should be "$check = mysql_query("SELECT * FROM users WHERE women='$id' AND random='$8:30'");" noo seriously I have same problem.. random isn't set.
lauris47 1 month ago
Comment removed
msborat96 1 year ago
can u give ur source code? coz i making a php website and it can be help in me a lot i hope u response quick thanks for the advance....
007mcbc 1 year ago
can you send me your code plsss.... thnks
18Mrnazareno 1 year ago
Random woman screaming
OnlyInNaziGermany 1 year ago 38
@OnlyInNaziGermany I read this at the beginning of watching the video, but had completely forgot about it by the time I got there. That was priceless!
ilovetheinternet 1 month ago in playlist Register & Login
Thanks, really greatttttttttt, 5 stars.....
wackerist 2 years ago
I sent mails to my yahoo account to check mail function but there were no mails also i sent to my gmail account and it shows them ....Why my mail Function doesn't work with Yahoo...Please help me??
mahesh0018 2 years ago
good lookin out dude
ZiguaThaMaster 2 years ago
Wooooooooooow! Goooooooooood stuff! Alex you are making PHP and hence programming much more fun! Thanks a lot!
omanoman98 2 years ago
question: when the user submits and the data is sent to the db.. and the echo shows on the page that it was sent. what happens if i place the php code on the bottom of a page and when submitted it refreshes and all the data is submitted but now the page is on top..and the echo is at the bottom of the page... how can i stay where it shows me the echo once submitted.. instead of being placed on the top part of the page??
filapente 2 years ago
I added some fields in the code and into my datebase. I get it to say registered and i check the email, then when i click the link I keep geting data missing. I have all of the fields in the same order as the database. Can you help me??
Knowledgeable88 2 years ago
If you'd like to send me your code i'll take a look?
phpacademy 2 years ago
I sent you an email from lildaddyha at yahoo dot come. The subject is"heres my code'. Looking forward to your reply. Thanks a lot!!
Knowledgeable88 2 years ago
Easier than I thought. Thanks.
modernclics 2 years ago