Hello,
I've come up with a stupid little way to create a unique activation key for every user that signs up with my system. Everything works nice, I have an activation form, that will take the key, compair it to the username and the assigned key, if it is valid, it will update my table so the user is active, inputs the date they activated.
What's even cooler, (keep in mind that I'm a begginer at this stuff), I made it so that if they try to login, they can't if the colum (or row, can't remember) with the username and status says that they are inactive..... (I think this is cool, because it only took me a few hours to figure this out.... And I'm a beginer. This stuff rocks!!!!)
Anyway, my question is this: How do I send that activation key to the user via e-mail? Everything works, except this part. Could someone please help me?