<?
/*$url='';

//error_reporting(E_ERROR);

$zip_search = $_POST['zip_search'];

$con2 = mysqli_connect("localhost","netvatise_btdt_postal_search","dge@$23f35!@","netvatise_btdt_postal_search");	
	
if ($con2->connect_error) {
    die("Connection failed: " . $con->connect_error);
} 

$sql2 = "SELECT url FROM postalsearch2 WHERE postal= '".$zip_search."'";
$result2 = $con2->query($sql2);

if($row2=$result2->fetch_assoc()){
	$url=$row2['url'];
}*/
//$conn->close();
if(isset($_GET['err'])){
	$zipErr = $_GET['err'];
}

?>
<div class="popup-agreement-block">
					<button title="Close (Esc)" type="button" class="mfp-close">x</button>
   <div class="order-form">
<!--
        <form id="ZipSearch" method="post" action="<?php echo $url;?>" > 
-->
		<form id="ZipSearch" method="post" action="order.php" > 
			<div class="row">
				<div class="col-md-6 col-md-offset-6">

					<div class="form-group">

					<label for="delivery_city"><h2>Enter Zip Code For Dumpster Rental Prices:</h2></label>
					<input type="text" class="form-control" id="zip_search" required name="zip_search" /><span style="color:red;"><br /><?php echo $zipErr;?></span>
					
					</div>

                <input class="btn green center" type="submit" value="Search"/>
	</div>
</div>
	</form>
</div>
</div>