$stmt = $GLOBALS['con']->prepare("SELECT `clientnumber`,`clientname`,`address1`,`address2`,`town`,`county`,`postcode` FROM `clientdetails` WHERE `contractor_number`='".$_REQUEST['contractor_number']."' AND `statuslive`='1'")or die(mysqli_error($GLOBALS['con'])); $stmt->execute();$cc=$stmt->get_result();$stmt->close(); ?>
Due Date Client Name Address 1 Address 2 Town County Post Code