i am having a registration page..
in that page i m having user mail id..
the details are registered and i want to send mail to that particular user..
then the user open that mail in his/her inbox and clicked"click here to activate the account"
i have user_valid field=0
then the details of user_valid=1 should be updated to tat particular user mailid in my database..
then only the user can able to login..
how to do this and also hoe to provide link in user inbox(the link is click here to activate the account)
need ur suggestions with examples.