Added: 2 years ago
From: phpacademy
Views: 18,754
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (44)

Sign In or Sign Up now to post a comment!
  • ALEX == Boss

  • woman scream at 8:30. is it in a brothel? jk

  • 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 now, "id" shows which ine to activate

  • Comment removed

  • woman scream at 8:30 xD

  • @ultrastatic100 Actually the woman screams at 8:31

  • woman scream at 8:31 xD

  • 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

  • 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 To help make it user friendly so that the user doesnt need to type any thing

  • around 6:48 LOL hilarious

  • 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/acti­vate.php on line 14

    Invalid id or activation code on line 14 is this $checknum = mysql_num_rows($check);

  • @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());

    }

  • 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?

  • what is the different beetwen of this TUT and Register & Login: Email activation (Part 2,1)?

    thanks nice tuts

  • Hey what video is it that has the construction of the connect.php, am kinda stuck here with out checking that one out!

  • @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 he did, register and login part 1, watch them all from the start

  • I have this error:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /public_html/home/phplogin/act­ivate.php on line 16

    Invalid ID or Activation code.

    Does anyone know how I can solve this?

  • 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

  • what about the part 2? wasnìt it good? or this is just an otherway 4 actvation? thanks so much from Italy :)

  • 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

  • 8:31 what the sound wah!!!

  • what is wrong with this lie of code

    $check = mysql_query("SELECT * FROM users WHERE id='$id' AND random='$code'");

  • @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'");

  • Comment removed

  • Comment removed

  • 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....

  • can you send me your code plsss.... thnks

  • Random woman screaming

  • @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!

  • Thanks, really greatttttttttt, 5 stars.....

  • 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??

  • good lookin out dude

  • Wooooooooooow! Goooooooooood stuff! Alex you are making PHP and hence programming much more fun! Thanks a lot!

  • 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??

  • If you'd like to send me your code i'll take a look?

  • 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!!

  • Easier than I thought. Thanks.

Loading...
Alert icon
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