Soldato
- Joined
- 22 Nov 2007
- Posts
- 4,332
Im trying to get user's to verify their accounts. What i've done so far is let the users enter their details and send off the details to the database. At the same time ive tried to put an mt.rand() to generate a number and put it in the "activation code" column. At the same time i use the mt.rand function to send a number to their email. The first problem is in the database the number keeps coming up as 0 , and also i'll need to make sure the number in the db is the same one as the one being emailed. Im new to php so im not sure if im going the right away about this. Can anyone help?
Thanks
Thanks