Hello Guest (Login?) Inbox (0) P2L Credits (0) My Tutorials (0) Faves (0) Settings Logout
CategoriesTutorials CommentsPodcast Media
Login to use this feature.
15760
2D Graphics
 
 
 
 
189
Databases
 
 
 
 
 
 
 
 
Tutorial Tools
Tutorial Tools - Tutorials
Tutorial Tools - Source Sites

Feb 17th, 2007
1
Well this tutorial helped but had major problems. One, you refer to the actcode row as activation, so the activate.php page doesn't work until i fixed it. And a couple of spelling errors :) Good job though.
 
Reply Report
Feb 17th, 2007
 
I can't see what you mean, the MySQL is all correct, and the activation code is stored in a variable named activation. But that variable still goes into the MySQL column named actcode.
 
Reply Report
Feb 18th, 2007
 
$acti = "SELECT activation FROM users WHERE activation = '$activation'";
Thats what you have in the tutorial but when you created the database, you created these two:
`actcode` VARCHAR(10) NOT NULL, `activated` VARCHAR(5) NOT NULL default 'no'
As you can see, there is no activation row. This error is on page 4 in the final code. :) Might want to fix that. Also might want to fix "You may not log in" to "You may now log in"
 
Reply Report
May 30th, 2007
2
Thanks for such an excellent tutorial I have one question when you send the emails will they become automatic hyperlinks? also the new lines in the email, will they be new lines in the acctual message? thanks
 
Reply Report
Sep 15th, 2007
 
1. Should do depending on the email client, but most emails clients do automatically. 2. Yes they become new lines in the email.
 
Reply Report
Jul 3rd, 2007
3
by
The activation page doesn't work
Please help, as it's a shame you've created such a brilliant piece of scripting, and (as you said) - the easy bit wouldn't work
I'm no PHP expert, and cannot see why it doesn't work - i've tried everything in my knowledge?

More about the error:

mysql_num_rows(): supplied argument is not a valid MySQL result resource

is the error, returned from this line:

$actin = mysql_num_rows($acti);

in activate.php

Thanks
 
Reply Report
Post a comment
You must be logged in to post a comment!

Click here to login.

 
Post Comment Back Bold Italic Underline Link Code Box Post Comment
Newsletter
Want to get the inside scoop and the latest news on Pixel2life? Click Subscribe below and sign up for our Newsletter!

Subscribe
News

Pixel2Life Home Advanced Search Search Tutorial Index Publish Tutorials Community Forums Web Hosting P2L On Facebook P2L On Twitter P2L Feeds Tutorial Index Publish Tutorials Community Forums Web Hosting P2L On Facebook P2L On Twitter P2L Feeds Pixel2life Homepage Submit a Tutorial Publish a Tutorial Join our Forums P2L Marketplace Advertise on P2L P2L Website Hosting Help and FAQ Topsites Link Exchange P2L RSS Feeds P2L Sitemap Contact Us Privacy Statement Legal P2L Facebook Fanpage Follow us on Twitter P2L Studios Portal P2L Website Hosting Back to Top