Requesting up-to-date stock
Please enter your email address and checkmark any stock that interests you to begin buying stock. The first step is selecting which stock it is you would be interested in buying, you will then receive an email with the specific stock details for the stock selected.
Error: Email is required "; } else if(!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/",$_POST["from"])) { $emailErr = "Email must follow email@email.com/co.uk"; echo "Error: Invalid email format "; } else if(empty($_POST['check_list'])) { echo "Error: Please select at least one stocklist"; } else if(!preg_match("/([a-zA-Z0-9,. ])/",$_POST["comments"])) { $commentsErr = "Invalid comment"; echo "Error: Please only use A-Z and 0-9 (. ,) no other special characters "; } else { if(!empty($_POST['check_list'])) { $varText = "I would like to request these stock lists: "; $text = "$varText"; foreach($_POST['check_list'] as $check) { $varText = "$text"; $text = "$varText \n $check"; } $comments = $_POST["comments"]; $text = "$text \n\n Additional comments: \n $comments"; // REPLACE THE LINE BELOW WITH YOUR E-MAIL ADDRESS. $to = 'Sales@discountelectrics.com' ; $subject = 'Stock list request' ; // NOT SUGGESTED TO CHANGE THESE VALUES $headers = 'From: ' . $_POST[ "from" ] . PHP_EOL ; mail ( $to, $subject, $text, $headers) ; // THE TEXT IN QUOTES BELOW IS WHAT WILL BE // DISPLAYED TO USERS AFTER SUBMITTING THE FORM. echo " Your e-mail has been sent! You should receive a reply shortly! " ; } } } ?>Your e-mail address: | |
Televisions: | |
DVD / Portable DVD Players: | |
Cookers: | |
Refrigeration: | |
Hi-Fi Systems: | |
Laundry: | |
Dishwashers: | |
Vacuums and floorcare: | |
Small domestic appliances (SDA): | |
Mixed showroom stock: | |
Additonal comments: | |