anybudy tell me how to send forget password mail to users mail id saved in database
abhijit_2
0
Newbie Poster
Recommended Answers
Jump to PostHi ;
here is somthing maby help you to get start<? $query="select* from users where username=".$username; If($query>0){ $result="select password,email from users where username=".$username; foreach ($result as $row){ $email=$row['useremail']; $password=$row['password']; $to = $email; $subject = 'Your password'; $message = "this your old password ".$password; $headers = 'From: …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.