0

Contact form sending as email using php

I have a contact form in html file i want to post that form to email using php I wrote a mail() method. When i click on submit it is showing php code as text format in browser window How to resolve this problem

18th Oct 2017, 11:08 AM
Sudheer Vasepalli
2 Answers
+ 7
did you forget to start your web server ?
18th Oct 2017, 11:49 AM
Leon lit
Leon lit - avatar
+ 6
It would be helpful if you show us the snippet via Code Playground regarding the problem you've mentioned. 😉
18th Oct 2017, 11:27 AM
Zephyr Koo
Zephyr Koo - avatar