Forum Moderators: coopster

Message Too Old, No Replies

A Little Project

         

matthew2riches

9:10 am on Jan 7, 2010 (gmt 0)

10+ Year Member



I am in the process of setting up a new website for an estate agent company that I have dealings with.

I have created the site and all is good but I need to add a little more php that I can't quite work out how to do.

I need a little form where people can add their name, email address, etc and when submitted, it will send them an email with a link in to download their property report.

I have got as far as the form and an auto response but cannot work out how to send a decent message with a link in. I have used:


$message = "Thank you for requesting the information pack, please click here to download it. \n If you wish to contact us please call 0**** ******. \n Thank you.";

How do I change "click here" into a link?

Thanks in advance. Matthew.

johnmoose

11:00 am on Jan 7, 2010 (gmt 0)

10+ Year Member



like this:
$message = "Thank you for requesting the information pack, please <a href=\"infopack.pdf\">click here</a> to download it. \n If you wish to contact us please call 0**** ******. \n Thank you.";

John

matthew2riches

3:25 pm on Jan 7, 2010 (gmt 0)

10+ Year Member



Case closed. Have spent today playing and finally written something that seems to work.

johnmoose

6:00 am on Jan 8, 2010 (gmt 0)

10+ Year Member



Not a prob.
Always glad to help.