0
Please how do i add php code on my website to send messages from contact forms to my mail support@myweb.com with feedback
web development
10 Réponses
+ 1
Playing with your form, add your page "sendMail.php" in the action of the form and use the method "post" or "get".
On your sendMail.php page, get the informations into some var and use the mail() function :
mail('example@example.com', 'Object', $message);
Play a bit and give me a feedback, I'm free to help you more but I'm kinda showing you the way, enjoy :)
+ 1
please how can I contact you privately?
0
thank you very much I'll work on this and get back to you
0
I don't know, just write here :)
0
OK bro thanks alot
0
still on my contact form, how can I redirect after form submission to the index.php with an alert message of sent successfully! although I'm not using a phpmailer
0
this is the part I'm having issues:
if(mail($to, $subject, $message, $headers)){
header("Location: index.php");
} else {
function died ($error){
echo $error; }
0
the email do get sent and redirected to index.php but I wan. a message indication message sent
0
please help
0
Can anyone help wit my xampp? I changed my computer and copied my camp folder to the new installation but I get getting *tables doesn't exist in engine* anytime I try to open any table in my php admin, pls help