Hi thought i'd ask here to se if someone can point me in the right direction.
What i want to do is to send an email requested by the user containing data from a database.
Basically forgotten login details, so you send your email, and to your email you receive login details, username and password.
The database contains the persons email so that's how it would know who's details its checking for.
I've managed to create email send bit, and the email is sending i just need to know how to pull things from a database and send them via an email.
Cheers!
PS: I've got a Wrox php5, sql book which has been of decent help, but i can't find anything in it for a request like this, and i cannot find what i'm looking for on the net.
Thanks for looking.
What i want to do is to send an email requested by the user containing data from a database.
Basically forgotten login details, so you send your email, and to your email you receive login details, username and password.
The database contains the persons email so that's how it would know who's details its checking for.
I've managed to create email send bit, and the email is sending i just need to know how to pull things from a database and send them via an email.
Cheers!
PS: I've got a Wrox php5, sql book which has been of decent help, but i can't find anything in it for a request like this, and i cannot find what i'm looking for on the net.
Thanks for looking.