'Contact Us, The Summers Group', 'description' =>'Contact the Summers-Group for Communications Consulting, Business Consulting', 'keywords' =>'Communications,Business Communications, Consulting, Business Consulting, Communications Consulting, Publicity, Speechwriting, Feature Writing, Media Relations, Crisis Management, Web Site Development, Financial Communications, Executive Communications, Employee Communications, Marketing Communications' ); require_once('includes/pageUtils.php'); printPageHeaders($params); ?>

Contact The Summers Group

Bill Summers
Phone: 908.304.8787
E-mail: bill@summers-group.com

The information you provide to us will be kept confidential and never sold. 30 ){ $errors[]='First Name entry is too long - it cannot exceed 30 characters'; } if ( strlen($lname)>30 ){ $errors[]='Last name entry is too long - it cannot exceed 30 characters'; } if ( strlen($job_title)>30 ){ $errors[]='Title entry is too long - it cannot exceed 30 characters'; } if ( strlen($company)>50 ){ $errors[]='Company entry is too long - it cannot exceed 50 characters'; } if ( strlen($addr1)>50 ){ $errors[]='Address line 1 is too long - it cannot exceed 50 characters'; } if ( strlen($addr2)>50 ){ $errows[]='Address line 2 is too long - it cannot exceed 50 characters'; } if ( strlen($city)>30 ){ $errors[]='City entry is too long - it cannot exceed 30 characters'; } if ( strlen($state)>20 ){ $errors[]='Sate entry is too long - it cannot exceed 20 characters'; } if ( strlen($zip)>10 ){ $errors[]='Zip Code entry is too long - it cannot exceed 10 characters'; } if ( strlen($country)>20 ){ $errors[]='Country entry is too long - it cannot exceed 20 characters'; } if ( strlen($phone)>25 ){ $errors[]='Phone entry is too long - it cannot exceed 25 characters'; } if ( strlen($email)>50 ){ $errors[]='Phone entry is too long - it cannot exceed 70 characters'; } if ( strlen($url)>50 ){ $errors[]='Phone entry is too long - it cannot exceed 100 characters'; } if ( $errors[0] ){ echo "

There were errors while attempting to submit your form"; echo "Please correct the following entries and resubmit the form.

"; foreach ( $errors as $key => $val ){ echo "
  • $val
  • "; } }else{ // insert into the database $sql = "insert into contacts (prefix, fname, lname, title, company, addr1, addr2, city, state, zip, country, phone, email, url, comments, date_entered) values (?,?,?,?,?, ?,?,?,?,?, ?,?,?,?,?, ?)"; $params = array(); foreach($_POST as $key => $val){ $params[]=$val; } unset( $params[count($params)-1] ); // remove submit button value $date = date('m-d-Y',time()); $params[] = $date; $result = $globalMySqlConnect->query($sql, $params); if(DB::isError($result)){ die("problem with the insert ".var_dump($params).$result->toString()); }else{ $success = 1; //send email to Bill $today = date('m-d-Y',time()); $to = "Bill Summers "; #$to = "Bill Summers "; $subject = "Summers Group Online Contact Form"; $headers = "From: \r\n"; $headers .= "Reply-To: \r\n"; $headers .= "Subject: Summers Group Online Contact Form"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $message = <<< END

    Bill,
    A user has completed the Online Contact form on your website. The following is the information that user submitted via the form. It has also been entered into the database - customer's table.

    User Supplied Information.
    Form Submited on:$today
    Name: $prefix $fname $lname
    Title:$title
    Company:$company
    Address:$addr1
    $addr2
    City:$city
    State:$state, $zip
    Country:$country
    Phone:$phone
    E-mail:$email
    Website:$url
    Comments:
    $comments
    END; // send email to the user... //send mail - $subject & $contents mail($to, $subject, $message, $headers); } } } ?>
      Thank your for completing our online form. Your information has been recorded and sent to the Summers Group."; } ?>

    Name: > Mr. > Ms. > Mrs.
    First:
    Last:
    Job Title:
    Company Name:
    Address:
    City:
    State: Zip:
    Country:
    Phone:
    E-mail:
    Web Site URL:
    Comments: