depojones Posted May 26, 2010 Share Posted May 26, 2010 Hello all, How do I go about this: I want a user to click on a link that looks like this: +send joe an email+ It should take the user to a page with joe email entered in an input box. Am not looking at a mailto function. Thanks in advance Link to comment https://forums.phpfreaks.com/topic/203017-retrieve-value-from-a-link/ Share on other sites More sharing options...
liamloveslearning Posted May 26, 2010 Share Posted May 26, 2010 Im not too sure but could something like this work... Link <a href="[email protected]">Send Joe and Email</a> Form page <?php $email = $GET_['name']; ?> <form name="form"> Email: <input type="text" value="$email" /> <input type="submit" id="submit" value="Send Email" /> </form> Link to comment https://forums.phpfreaks.com/topic/203017-retrieve-value-from-a-link/#findComment-1063834 Share on other sites More sharing options...
liamloveslearning Posted May 26, 2010 Share Posted May 26, 2010 Obviously you would need to add more form fields etc... Link to comment https://forums.phpfreaks.com/topic/203017-retrieve-value-from-a-link/#findComment-1063835 Share on other sites More sharing options...
depojones Posted May 26, 2010 Author Share Posted May 26, 2010 Thank you for your prompt response. I got it working using your method Link to comment https://forums.phpfreaks.com/topic/203017-retrieve-value-from-a-link/#findComment-1063843 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.