- BCD's QuickInfo -
How Can We Help You?
Please...

'; echo 'In order to respond promply, we need your Email address.

'; echo 'Please click the button, add your Email address.

'; echo '

Return to Form to Add Information
'; exit; } } if ($check_it) { $debug = 0; // ================== check_ it database ================= include $path."/db_inq.php"; $table="tbl_inquiry"; $type="new"; $updated=date("Y-m-d"); //last update $interested="y"; $max_fields=27; if ($source == "Other") $source = $source2; // default values $db = mysql_connect($hostname, $user, $pwd); if (!$db) { echo "Error: Could not connect to database for Writing."; exit; } mysql_select_db($dbase); $query = "INSERT into $table VALUES ('".$type."', '".$inq_id."', '".$fname."', '".$lname."', '".$email."', '".$title."', '".$organization."', '".$address."', '".$address2."', '".$city."', '".$state."', '".$zip."', '".$country."', '".$phone."', '".$fax."', '".$comments."', '".$urgency."', '".$updated."', '".$interested."', '".$remove."', '".$productref."', '".$referer."', '".$source."', '".$sal."', '".$mname."', '".$suffix."', '".$taker."')"; if ($debug==1) { echo $query; echo "
"; } $result = mysql_query($query); if (!$result) { echo "

Could not get initial database read. ".$field_name[$i]."
"; echo mysql_errno() . ": " . mysql_error() . "
"; } if ($debug==1) echo "affected rows ".mysql_affected_rows()."
"; $last_row = mysql_insert_id(); if ($debug==1) echo 'New id is '.$last_row.'
'; // $num_fields = mysql_num_fields($result); // if ($debug==1) echo 'num_fields='.$num_fields.'
'; // $debug=1; // ====================================================== // echo "Done...
"; // ============== end check_it database ========================= // ================== check_ it email ================= if (!$referer) { $referer= getenv('HTTP_REFERER'); if ($debug==1) echo 'No Referer, so now it is '.$referer; } echo '

'; echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; if (!isset($subject)) $subject = "BCD Web Inquiry ".$productref; if ( (!isset($fname)) || ($fname == "") ) $fname=$email; $fname = stripslashes($fname); $lname = stripslashes($lname); $subject = stripslashes($subject); $comments = stripslashes($comments); // Email // echo "Sending data... Code=".$code; $toaddress = "Web.Inq@bcdusa.com"; // $headers = "From: '".$fname." ".$lname."' <".$email.">\r\n"; $headers = "From: ".$fname." ".$lname." <".$email.">\r\n"; // $headers .= "Subject: ".$subject."\r\n"; $headers .= "Cc: diane@bcdusa.com\r\n"; /* additional headers */ // $headers = "From: '".$fname." ".$lname."' <".$email.">\r\n"; $mailcontent = "Name: ".$sal." ".$fname." ".$lname." ".$suffix."\n" ."Email ".$email."\n" ."ProdRef ".$productref."\n" ."Title: ".$title."\n" ."Organization: ".$organization."\n" ."Address: ".$address."\n" ." ".$address2."\n" ."City, ST, Zip.: ".$city." ".$state." ".$zip."\n" ."Phone1 ".$phone."\n" ."Fax ".$fax."\n" ."Comments ".$comments."\n" ."Urgency ".$urgency."\n" ."Source ".$source."\n"; // $fromaddress = "From: '".$fname." ".$lname."' <".$email."> \n"; $fromaddress = "From: ".$fname." ".$lname." <".$email."> \n"; if ($debug == 1) { echo $toaddress; echo '
'; echo $fromaddress; echo '
'; echo $headers; echo '
'; echo $mailcontent; echo '
'; } if (!mail($toaddress, $subject, $mailcontent, $headers, $fromaddress)) { echo "Msg not sent. Please use 'Back' and try again."; } // echo "... Sent. "; // echo 'end send email'; // ================== end check_ it email ================= echo '
'; // include $path."/nav/bcdmenu.php"; // echo '
ref_temp='.$ref_temp; // echo '
referer='.$referer.'
'; // echo '
productref='.$productref; echo "

Thank you, ".$fname." !

We appreciate your interest !

"; echo '
'; if ($response = "emailonly") { echo '
Return to Where You Were
'; } else { echo '
Return to Where You Were
'; } echo '
'; // end checkit echo '
'; echo '
'; //php end of big overall main table } else { ?>
Use this QuickInfo for fast answers to your questions. ... or call us at 405-843-4574

We value your privacy. This is restricted information and it stays with us. From time to time we may send you new notices of new product and updates, but only occasionally. If you want to be removed from future emailings, just choose Remove from List below.

The only required field is your email address.
Email:*
* = required
First & Last Name:
Primary Product Interest:
   If your interest is not listed, please choose "Other" and explain in Comments. '; ?>
Your Title/Position:
Organization Name:
Address1, Address2:
City, State/Province, Zip/Postal Code:
Country:
Daytime Phone:
Fax Number:
How did you hear about BCD?
   If you selected "Other", please specify:
Questions? Comments?
Please include your phone number above if you'd like a call back.  

Tell us the details of your project.

Request Urgency:
I no longer want to receive information from BCD.
Remove me from the Update List

Back to BCD's home page.