Jump to content

Code Mods


VK4KBG

Recommended Posts

Hi,

I have a Contact Form that I would like to change a little.

 

Instead of using the 'internal' message;

// Send mail

if(!mail($to,$subject,$body,$headers)){

echo "mail error";

}

        // display mail sent message

else {

        echo (" <title>SendMail Notice: mail was successfully sent</title><body><br><br><br><br>

<p style=\"font:11pt arial\" align=center>Just to let you know your e-mail has been successfully sent to Warren...<i>Thank you</i></p>

</body></html>"); exit(0);

 

I would like it to direct to a Thank you page:

Http://thesite.com/thankyou.html

 

Would be grateful if some can assist;

 

Cheers

 

Ron

Link to comment
https://forums.phpfreaks.com/topic/144977-code-mods/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.