>>>>>”.$order_sql;
mysql_query ( $order_sql );

$order_id = mysql_insert_id();

}
$insert_sql = “insert into hoa_community_registration set
order_id = ‘$order_id’ ,
package_id = ‘$package_id’,
community_fname =’$fname’,
community_lname =’$lname’,
community_m_initial =’$mname’,
community_company_name =’$company’,
community_address1 =’$addr1′,
community_address2 =’$addr2′,
community_city =’$city’,
community_state_id =$state1,
community_zip =’$zip’,
community_name =’$community_name’,

own_domain_name =’$domain’,
require_domain_name =’$cdomain’,
community_phone =$phone,
community_email =’$email’,
community_admin_username =’$uname’,
community_admin_password =’$password’,
registration_date = now(),

community_reseller_id = ‘$reseller_id’,

property_manager_id = ‘$property_manager_id’

“;

//echo $insert_sql;
$result_sql = mysql_query($insert_sql);
$_SESSION [order_id] = ”;
$msg = “Successfully Submitted Your Registration.”;

$rs_temp = mysql_fetch_array ( mysql_query (“SELECT max( hoa_community_id ) as community_id FROM hoa_community_registration”) ) ;
$community_id = $rs_temp[0];

include ‘../libmail.php’; // do not remove this
include ‘../registration_confirmation_mail.php’;
if($_POST[‘mail_array’]!=””){
include ‘../mail_confirmorder.php’;
}else{
include ‘../mail_admin_confirmorder.php’;
}
//wp_redirect( “http://www.hoatown.com/community-admin-login?community_id=$community_id&PACKAGE_USER_NAME=$PACKAGE_USER_NAME” );
//header(“location:http://www.hoatown.com/community-admin-login?community_id=$community_id&PACKAGE_USER_NAME=$PACKAGE_USER_NAME”);
//exit();
//}
?>

Registration Completed

 


Back