unplugged_web Posted July 2, 2008 Share Posted July 2, 2008 I have an email/feedback for. It works great, but when the email is sent it just displays the answers to the questions. Rather than the questions as well. Is it possible to get it to show the questions too? So instaed of sayingjoe bloggsjoe.bloggs@wherever.comit says:Name: joe bloggsEmail: joe.bloggs@wherever.comAt the moment I've got: <?php$message = "{$_POST['title']}\n{$_POST['forname']}\n{$_POST['surname']}\n{$_POST['email']}\n{$_POST['address']}\n{$_POST['city']}\n{$_POST['postcode']}\n{$_POST['country']}\n{$_POST['home_number']}\n{$_POST['mobile']}\n{$_POST['gender']}\n{$_POST['nationality']}\n{$_POST['day']}\n{$_POST['month']}\n{$_POST['year']}\n{$_POST['source']}\n{$_POST['current_employer']}\n{$_POST['current_salary']}\n{$_POST['minimum_salary']}\n{$_POST['current_position']}\n{$_POST['cv']}\n{$_POST['RadioGroup1']}\n{$_POST['jobalert']}\n{$_POST['keywords']}\n{$_POST['location']}\n{$_POST['sector']}\n{$_POST['type']}\n{$_POST['salary']}\n{$_POST['contact']}\n-fuser@myemailaddy.com";ini_set("sendmail_from", 'info@myemailaddy.com');mail("info@myemailaddy.com","contact via candidates form","$message");?> Link to comment Share on other sites More sharing options...
justsomeguy Posted July 2, 2008 Share Posted July 2, 2008 You can just add that to the email output.$message = "Title: {$_POST['title']}\nFirst Name: {$_POST['forname']}\nLast Name: {$_POST['surname']}... Link to comment Share on other sites More sharing options...
unplugged_web Posted July 2, 2008 Author Share Posted July 2, 2008 You can just add that to the email output.$message = "Title: {$_POST['title']}\nFirst Name: {$_POST['forname']}\nLast Name: {$_POST['surname']}...Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.