I am a very novel programmer, just making my first website for a new idea we are starting.
From "contact us" page, we have a form to get information, and when press send button, send_email.php function is called.
All works fine, I receive the e-mail generated by the function.
My question is, how can i return to my website from the PHP mail() function?
In PHP code I added a line:
echo "<div style='position:absolute; top:215px; left:200px; color:#FF4F10'><br><br><h2>Your request has been successfully sent</h2></div>";
But the message is showed in a blank page.
I have created includes in my HTML website, in order to avoid repeating code. I have includes for header, menu and footer sections.
Id like the message generated after mail() function sent the e-mail is showed in a web page with these three includes.
Thanks a lot!!!