Need some help with PHP Script
Hi guys,
I got a PHP contact form script, but have been having a little trouble customizing it.
My problem is, I would like to have a HTML page I have created appear to confirm to the user that his message has been sent, or another that I made to tell the user the message was not sent. Here is what the part of my code I would like to link those pages look like:
// Result options
$header[0]="";
$footer[0]="";
$error_page[0]="";
$thanks_page[0]="";
// Default Error and Success Page Variables
$error_page_title[0]="Error - Missing Fields";
$error_page_text[0]="Required information is missing. Please use your browser's back button to return to the form and complete the required fields.";
$thanks_page_title[0]="Success - Form processing completed";
$thanks_page_text[0]="Thank you. Please check your e-mail for an automated confirmation. ";
The success page is called "succes.html" and the error page is called "error.html".
Thanks!
