Three or four times a year we issue The Grocer newsletter to highlight the best of what the new season has to offer gastronomically. This is our opportunity to share with you what we've learnt about new products available, new recipes we've tried and loved, upcoming events and a general update about the food industry in WA.
$value) { $errors -= $object[$key]->setValue($_POST); $message .= $object[$key]->getMailValue(); } if ($errors == 0) { $mailer = new PHPMailer(); $mailer->AddAddress("info@thegrocer.com.au"); $mailer->FromName=$object['contactname']->getValue(); $mailer->From=$object['email']->getValue(); $mailer->Subject = "Please subscribe me to The Grocer Newsletter"; $mailer->Body = $message; $mailer->Send(); header("Location: ". ic_buildURI(array("thank" => "you"))); exit(0); } else { if ($_GET['thank'] == 'you') { echo "Thanks for subscribing!
Please continue to browse our site using the menu system
If you'd like to receive this newsletter, fill in the form below.
Note: Please fill in all fields marked with an asterisk (*)
"; if ($_POST['Submit_x'] != null) { echo "There are errors on this form (marked in red) Please correct them and try again
"; } echo ""; } }*/ include '12allformcode.inc'; ?>Click one of the recipe links below to download a PDF.
