Hi, I'm new to PHP but am learning.
My question is this, I have a script that checks a db and then displays the results on a web page, car showroom type of site, I want to add a 'e-mail me about this car' link but in the subject I want it to put the $reg and $model from the script.
I want it to use the viewrs e-mail app, i.e. Outlook/express.
Any ideas?
Thanks in advance.
Email using variables from script.
Moderator: General Moderators
Thanks but...
Thanks for the suggestin, I have tried mail(), it asks for my SMTP address, my aim is for it to use the page viewers e-mail app but to insert the address and insert the variables $reg and $model in the subject line.
Is this possible?
Is this possible?