+ 2
When an email user licks a link in an email that take them to a web form, how do u prefill the form with the user email add?
php, php mail, php form,
2 Respuestas
+ 2
A couple ways at least; it could be sent along as a URL variable from an anchor in an HTML email:
<a href="//www.example.com?email=test@example.com">click here</a>
but you can also send a unique string:
... www.example.com?prospectID=1234567890
and then PHP would look up prospectID 1234567890 in a database.
In either case, PHP would echo/insert the sent or retrieved value into its output when generating a response to the click.
+ 1
thanks for the answer Kirk, please can you paste a sample snippet on this, am still confuse on how to format the php send mail function and the html form