prepare("SELECT type, buySell, sellStateArea, sellMetroArea, sellArea, buyStateArea, buyMetroArea, buyArea, street, unitNum, city, state, zip, typeHouse, sizeHouse, valueHouse, statusHouse, typeBuy, sizeBuy, priceBuy, leadSource, buySellLoop, IP, error1, error2, error3, error4, error5, error6, error7, error8, error9, error10, error11, error12, error13, error14, error15 FROM validate_form WHERE confirmCode=?"); $stmt->bind_param('s', $key); $stmt->execute(); $stmt->bind_result($typea, $buySella, $sellStateAreaa, $sellMetroAreaa, $sellAreaa, $buyStateAreaa, $buyMetroAreaa, $buyAreaa, $streeta, $unitNuma, $citya, $statea, $zipa, $typeHousea, $sizeHousea, $valueHousea, $statusHousea, $typeBuya, $sizeBuya, $priceBuya, $leadSourcea, $buySellLoopa, $IPa, $error1a, $error2a, $error3a, $error4a, $error5a, $error6a, $error7a, $error8a, $error9a, $error10a, $error11a, $error12a, $error13a, $error14a, $error15a); while(mysqli_stmt_fetch($stmt)) { $type=$typea; $buySell=$buySella; $sellStateArea=$sellStateAreaa; $sellMetroArea=$sellMetroAreaa; $sellArea=$sellAreaa; $buyStateArea=$buyStateAreaa; $buyMetroArea=$buyMetroAreaa; $buyArea=$buyAreaa; $street=$streeta; $unitNum=$unitNuma; $city=$citya; $state=$statea; $zip=$zipa; $typeHouse=$typeHousea; $sizeHouse=$sizeHousea; $valueHouse=$valueHousea; $statusHouse=$statusHousea; $typeBuy=$typeBuya; $sizeBuy=$sizeBuya; $priceBuy=$priceBuya; $leadSource=$leadSourcea; $buySellLoop=$buySellLoopa; $IP=$IPa; $error1=$error1a; $error2=$error2a; $error3=$error3a; $error4=$error4a; $error5=$error5a; $error6=$error6a; $error7=$error7a; $error8=$error8a; $error9=$error9a; $error10=$error10a; $error11=$error11a; $error12=$error12a; $error13=$error13a; $error14=$error14a; $error15=$error15a; } $stmt->close(); if($IP != $_SERVER["REMOTE_ADDR"]) { header("Location: https://www.agentharvest.com/form-error.html?error=IP Mismatch"); exit(); } } // sets the counter for the buyer and seller loop and set type as b&S to pass in form to next stage $stepCount="

Step 1 of 2

"; // used for display at top of form if($buySellLoop=="Res1" && $error!=100) { $buySellLoop="Res2"; $type="Res Seller"; $stepCount="

Step 2 of 3

"; } if($type=="Res Buyer and Seller" && $error!=100) { $buySellLoop="Res1"; $type="Res Buyer"; $stepCount="

Step 1 of 3

"; } // port PHP type variable to javascript echo ""; ?> Coverage Areas Where We Recommend Top Agents and Realtors
Agent Harvest a Realtor Referral Service
----- TEST MODE -----"; } echo "

Elite Real Estate Agent Matching by Property Type

"; ?>
Describe the Home You Want To Buy"; } if($type=="Res Seller") { echo "

Describe the Property Being Sold

"; } ?> Required Field - Please select the location of the home being sold."; } if($error==100 && in_array($type, array("Res Buyer"))) { echo "

Required Field - Please select the location of the home being purchased.

"; } echo "

"; ?> Street Address

"; if($error2==1) { echo "

Required Field - Please provide the street address of the home being sold.

"; } if($error2==2) { echo "

Invalid Characters - Only numbers, letters, and (' # - . ; :) allowed.

"; } if($error2==3) { echo "

Missing Information - Please include a street number in this field.

"; } if($error2==4) { echo "

Invalid Entry - Please provide your correct street address.

"; } echo "

Unit/Apt/Suite#

"; if($error3==1) { echo "

Required Field - Please provide the unit/apt # of the home being sold.

"; } if($error3==2) { echo "

Unit Number is for Apts, Condos, and Multi-Family Homes

"; } echo "

City

"; if($error4==1) { echo "

Required Field - Please provide the city of the home being sold.

"; } if($error4==2) { echo "

Invalid Entry - Please provide the full name of the city.

"; } echo "

State

"; if($error5==1) { echo "

Required Field - Please provide state. Two digit abbreviations acceptable.

"; } if($error5==2) { echo "

Invalid Entry - Check spelling. Two digit Postal abbreviations acceptable.

"; } echo "

Zip Code

"; if($error6==1) { echo "

Required Field - Please provide 5-digit zip code or ZIP+4 with dash.

"; } echo "

Property Type

  "; if($error7==1) { echo "

Required Field - Please describe the type of property being sold.

"; } echo "

Size of House

  "; if($error8==1) { echo "

Required Field - Please select the size of the property being sold.

"; } echo "

Value of House

  "; if($error9==1) { echo "

Required Field - Please estimate the price of the property being sold.

"; } echo "

Current Status

  "; if($error10==1) { echo "

Required Field - What's the current status of selling your house.

"; } } // ---------------------- Buyer Options ----------------------------------- if($type=="Res Buyer") { echo "

Property Type

  "; if($error11==1) { echo "

Required Field - Please select the type of property you are buying.

"; } echo "

Size of House

  "; if($error12==1) { echo "

Required Field - Please select the size of the property you are buying.

"; } echo "

Price of House

  "; if($error13==1) { echo "

Required Field - Please estimate the value of the property you are buying.

"; } } ?>






Encrypted for your privacy.
AgentHarvest® will never sell your information or use it for solicitation purposes. See Privacy Policy for details.

Questions?
Contact Us

AgentHarvest®
Bell Real Estate - Broker
4637 North Versailles
Dallas, Texas 75209


close(); $mysqli2a->close(); exit(); ?>