SOLUTIONS : SIMPLIFIED VENTANA™
include("../dbconnect.php");
/* error checking form */
if (!$nameb) {
print "You did not include your name. \n";
$error = 1;
}
if (!$title) {
print "You did not include your title. \n";
$error = 1;
}
if (!$company) {
print "You did not include your company name. \n";
$error = 1;
}
if (!$email) {
print "You did not include your email address. \n";
$error = 1;
}
if ($error) {
print " Please use the back button on your browser to go back and fill in any mising required fields
\n\n";
} else {
/* sending email */
$message = "
we got a ventana product demo request
please respond to the following person..
-----------------------------------------------
" . $nameb . "
" . $title . "
" . $company . "
" . $email . "
" . $phone . "
-----------------------------------------------";
$to = "solutions@simplified.com";
#$to2 = "rjimenez@simpletel.com";
$headers = "From: simplified.com\nReply-To: $email";
$subject = "Simplified Ventana Demo";
#mail("$to2", "$subject", "$message", "$headers");
mail("$to", "$subject", "$message", "$headers");
/* inserting into a database */
$insert = "insert into ventana_demo (name, title, company, email, phone) values ('$nameb', '$title', '$company', '$email', '$phone')";
mysql_query($insert);
/* thanking user */
?>
Thank you.
A Simplified Representative will be contacting you shortly.
}
?>
|
|

Simplified Ventana changes the relationship between service provider and
customer. It embraces freedom and opens up opportunities for dynamic,
real-time connections.
|
|
|