My problem is executing the php in the form action="" stated in my Topic title. Sorry for not stating the problem in my message.
I think the problem is I am calling the php in the wrong way. I've searched for ways to do that but I couldn't find answers. Isn't it possible to just call the php in action as if it is in html?
Something like:
<form id="main-contact-form" class="contact-form" name="contact-form" method="post" action="submitform.php">
*where submitform.php is found in the same path of index.html
Hope you could help me. Thanks!