table_name = "pricing_request"; $f->identity_column = "pkId"; $f->db_open( $DB, $ADM, $PWD ); $myId = $f->save_form_data( $r ); $f->db_close(); // If there wasn't an error generated from the required // fields, then don't send email nor redirect if( "" == $f->error_message ) { $name = trim( $_POST["name"]); $m = new dynamic_mail( $_POST ); $m->subject = "Pricing and Information Request: $name"; $m->from = "\"$COMMUNITY_NAME\" "; $m->dmail( "chad.zinda@realogicssothebysrealty.com" ); //$m->dmail( "barrett@doreydesigngroup.com" ); if( 1 == validate_email( $_POST['email'] ) && file_exists("./registration/pricing-email.txt") ) { $msg = implode( "", file( "./registration/pricing-email.txt" ) ); $msg = str_replace( "%d", $myId, $msg ); $msg = str_replace( "%name", $name, $msg ); $m->subject = "$COMMUNITY_NAME Pricing and Info Request"; $m->from = "\"$COMMUNITY_NAME\" "; $m->body = $msg; @$m->dmail( $_POST['email'] ); } } } ?> Realogics Sotheby's International Realty
Request Pricing
Please provide your contact information below and a community sales representative will respond to you as soon as possible. In the interim feel free to call us at (206) 448 5752.


Name


Email


Phone Number