MR1 Posted July 14, 2009 Share Posted July 14, 2009 Hello, I have a form when everytime i fill, it gives a unique id for example name surename address postcode [email protected] ID: 4 name surename address postcode [email protected] ID: 5 name surename address postcode [email protected] ID: 6 I then want a text box on say page called email.php is like this ---------------- 5 | --------------- submit when i click on submit, it goes to server and finds the email for record 5 and sends an email. I hope that makes sense, thank you have a good day Link to comment https://forums.phpfreaks.com/topic/165912-how-do-get-email-from-database/ Share on other sites More sharing options...
trq Posted July 14, 2009 Share Posted July 14, 2009 SELECT email WHERE id = 5 Is the query, the mysql extension ought get you started with your code. Link to comment https://forums.phpfreaks.com/topic/165912-how-do-get-email-from-database/#findComment-875099 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.