php - How to display the content after contact form submitted? -


i watched tutorial teaches how create simple php form youtube. follow instruction , created form, form working alright, there problem facing form. is, got no idea how display full data of form field display on email after contact form submitted. here have php code of process_contact.php.

click link see attachment of php code have contact form. http://www.ytcopier.com.my/img/process_contact.jpg

at moment, can see field of $inquiry. can guide me in order display field? thank you! highly appreciated.

you have build message having required details in email. this

$emailmsg = "details: <br/> contact person: {$contactperson} <br/> phone number: {$phonenumber} <br/> email : {$emailaddress} <br/> company name: {$companyname} <br/> company address: {$companyaddress} <br/> service inquired: {$serviceinquire} <br/> find us: {$findus} <br/> inquiry: {$inquiry} <br/> "; 

insert above in code.

replace

mail($to,$subject,$inquiry,"from: ytcopier"); 

to

mail($to,$subject,$emailmsg,"from: ytcopier"); 

for next time don't attach image of code, paste code here itself.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -