'; $html_data.= ''; $html_data.= ''; $html_data.= '
'; $html_data.= ''.$link_title.''; $html_data.= '
'; $html_data.= '
'; $html_data.= "".$link_description.""; $html_data.= '

'; $html_data.= "".$link_url.""; $html_data.= '
'; $html_data.= ''; $html_data.= ''; if ( $countrow != $num_rows1 ) { $html_data.= '
'; } } while($row = mysql_fetch_array($result)); $previous_index = $start_index - $max_products_per_page; $next_index = $start_index + $max_products_per_page; } else { $html_data.= '
'; $html_data.= 'There are no links in the database.'; $html_data.= ''; $html_data.= '
'; } if ( $num_rows > 0 ) { $nav_data.= ''; $nav_data.= ''; $nav_data.= ''; $nav_data.= '
'; $nav_data.= '
'; if ($start_index > 0) { $nav_data.= '<< Previous Page'; } else { $nav_data.= ''; } $nav_data.= ' || '; $numofpages = $num_rows / $max_products_per_page; $pageno = 0; $pagelinkno = 0; $actualpage = 1; for ( ; $pageno<$numofpages; $pageno++ ) { //.$link_folder." if ( $pagelinkno != $start_index ) { $directlinktopage .= ""; } $directlinktopage .= "$actualpage"; if ( $pagelinkno != $start_index ) { $directlinktopage .= ""; } if ( $pageno >= $numofpages ) { break; } ++$actualpage; $directlinktopage .= " , "; $pagelinkno = $pagelinkno + $max_products_per_page; } $directlinktopage = substr_replace( $directlinktopage, "", -13, 13 ); $nav_data.= "$directlinktopage"; $nav_data.= ' || '; if ( ( $start_index + $max_products_per_page ) >= $num_rows ) { $nav_data.= ""; } else { $nav_data.= 'Next Page >>'; } $nav_data.= '
'; } ?> Please enter your name.

"; } if (!$_POST["email"]) { $feedback .= "Please enter your email address.

"; } list($userName, $mailDomain) = split("@", $email); if (!checkdnsrr($mailDomain, "MX")) { $feedback .= "Invalid Email Domain

"; } if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)) { $feedback .= "Your email address doesn't appear to be valid - please check and try again.

"; } if ($feedback=="") { $sql = mysql_query("SELECT * FROM subscribers WHERE email='$email'"); $numRows = mysql_num_rows($sql); if ($numRows>0) { $feedback = "That email address is already subscribed."; } } if ($feedback=="") { $insertresult = mysql_query("INSERT INTO subscribers (name, email) VALUES ('$name', '$email')") or die (mysql_error()); if ($insertresult) { $completed = TRUE; } $customer_ip = $_SERVER['REMOTE_ADDR']; $to = 'mail@merchantmcdonald.co.uk';//mikew@mustardgraphics.co.uk $title = "Merchant McDonald Newsletter Sign Up! $mailingtime"; $header = "From: \"".$name."\" <".$email.">"; // Found elsewhere $body = "You have a new subscriber, details below\r\n\r\n"; $body .= "".$name."\r\n"; $body.= "\r\n"; $body.= "".$email."\r\n"; mail($to,$title,$body,$header); } } ?> Accountant - Chartered Certified Accountants Merchant McDonald & Company
Good Morning!  -  Saturday, 31 May 2025   
Links to Merchant McDonald Home Page
Links to Resources Page
Links to Merchant McDonald Enquiry Form
Links to Disclaimer and Privacy Statement
Download our App
Subscribe to our Newsletter ".$feedback."

"; } ?>
Thanks - you have been subscribed to our newsletter successfully. You can unsubscribe at any time by clicking the link at the bottom of each email we send.

"; } ?>
Useful Business Links

copyright Mustard Graphics © 2025   Website Design by Mustard Graphics