I am trying to do something fairly simple, which is enable a visitor of a website to email themselves a copy of the list of phone numbers of the website.
On a HTML file a simple text book asks for the user to enter text (email):
<b> Email Address:
<input type="text" name="emailaddress"/>
So far I have the following code on a PHP file:
<a href="mailto:emailaddress">Email me the list of Phone Numbers</a>
However 'emailaddress' on the PHP file is not properly reading the input email address from the HTML page. When I change emailaddress on the PHP file to $emailaddress this ends up sending an email to '$emailaddress' instead of the input.
I would be extremely grateful for any help .
Andrew