Reseller Program:

".htmlspecialchars($program)."

Name (Mr/Ms) :

".htmlspecialchars($name)."

Address1:

".htmlspecialchars($address1)."

Address2:

".htmlspecialchars($address2) ."

Postcode:

".htmlspecialchars($pcode)."

City:

".htmlspecialchars($city) ."

State:

".htmlspecialchars($state) ."

Country:

".htmlspecialchars($country) ."

E-mail Address:

".htmlspecialchars($email) ."

Company Name:

".htmlspecialchars($company)."

Telephone No:

".htmlspecialchars($tel)."

Fax No:

".htmlspecialchars($fax)."

Current Website:

".htmlspecialchars($website)."

where did u find us:

".htmlspecialchars($where)."

".htmlspecialchars($other)."

Remark:

".nl2br(htmlspecialchars($remark))."

"; $send_to = "amy@gobroadband.net, gatewayoption@gobroadband.net, amykwok1@gmail.com, hao.han82@gmail.com"; $send_from = "From: GoBroadband.net "; $mail_subject = "Franchise Request Form"; $mail_body = wordwrap($mail_body, 70, "\n"); $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= $send_from . "\r\n"; $result = mail($send_to, $mail_subject, $mail_body, $headers); if ($result) print '

The form has been submitted!

'; else print '

The form has been submitted!

'; // if(!empty($name) && !empty($address1) && !empty($address2) && !empty($pcode)) && !empty($city) && !empty($state) && !empty($country) && !empty($email)) && !empty($tel)) && !empty($fax)) // { /* # Edited By Hoe, 30/10/2009 # Changed: Send form to email $query = "INSERT INTO register VALUES ('','$program', '$name', '$address1', '$address2', '$pcode','$city','$state','$country','$email','$company','$tel','$fax','$website','$where','$other','$remark',now())"; mysql_query ($query) or die(mysql_error()); echo ("
Thank you for interesting in our program. You registration will be processed shortly.

"); echo "
Below is what you submitted:


"; echo ("

Reseller Program:

".$program."

Name (Mr/Ms) :

".$name."

Address1:

".$address1."

Address2:

".$address2 ."

Postcode:

".$pcode."

City:

".$city ."

State:

".$state ."

Country:

".$country ."

E-mail Address:

".$email ."

Company Name:

".$company."

Telephone No:

".$tel."

Fax No:

".$fax."

Current Website:

".$website."

where did u find us:

".$where."

".$other."

Remark:

".$remark."

"); // } else{ echo ''; include ('register.htm'); } */ ?>