IsHTML(true); $mail->Subject = "".COMPANY_NAME.": Website Enquiry"; // Create Body $style = "#main{background: #FFFFFF; width: 500px; margin: auto; padding: 20px; border: 1px solid #000000}"; $body = "\n"; $body .= "\n"; $body .= "\n"; $body .= "
\n"; $body .= "

\n"; $body .= "An enquiry has been submitted via the ".COMPANY_NAME.". The enquiry is as follows.

\n\n\n"; $body .= "Name: ".$_POST['yourname']."
\n\n"; $body .= "Email Address: ".$_POST['youremail']."
\n\n"; $body .= "Contact Number: ".$_POST['yournumber']."
\n\n"; $body .= "Message: ".$_POST['message']."
\n\n"; $body .= "\n"; $body .= "\n"; //normal mailer $mail->AddAddress("enquiries@jmrvehicles.co.uk"); #$mail->AddAddress("nick@vistadesign.co.uk"); $mail->From = $_POST['youremail']; $mail->FromName = $_POST['yourname']; $mail->Body = $body; // PHP Mailer $mail->Send(); header("location:page.php?id=5&contactform=1"); } } include"data_includes/single_page.php"; ?> <br /> <b>Warning</b>: Undefined variable $artdata in <b>/var/www/vhosts/jmrvehicles.co.uk/public_html/page.php</b> on line <b>67</b><br /> <br /> <b>Warning</b>: Trying to access array offset on value of type null in <b>/var/www/vhosts/jmrvehicles.co.uk/public_html/page.php</b> on line <b>67</b><br />


Warning: Undefined variable $artdata in /var/www/vhosts/jmrvehicles.co.uk/public_html/page.php on line 95

Warning: Trying to access array offset on value of type null in /var/www/vhosts/jmrvehicles.co.uk/public_html/page.php on line 95



Warning: Undefined variable $content_formatted in /var/www/vhosts/jmrvehicles.co.uk/public_html/page.php on line 96