"; } else { $from = strpos($html, "__STARTM".$i."__"); $to = strpos($html, "__ENDM".$i."__"); $html = str_replace(substr($html,$from,($to-$from)+8+strlen($i)),"",$html); } } } $serialLineHTML = ""; include '../common_image_file.php'; for($i=1;$i<= 5;$i++){ if(isset($_POST["creditor".$i]) && !empty($_POST["creditor".$i])){ $creditor[$i] = $_POST["creditor".$i]; $varList[] = "__CREDITOR".$i."__"; $valueList[] = nl2br($creditor[$i]); $serialLineHTML .= '
Alleged Unauthorized/NOT COMPLIANT/or without Permissible Purpose Credit Inquiry #'.$i.' dated:
__CREDITOR'.$i.'__
'; } else { } } $html = str_replace('__SERIAL_LINES__',$serialLineHTML,$html); require("../common_file.php"); } else { $url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."RTG-V1S1-HiDC-letter-Creditor-Inquiry-Letter-Volume-1-Step-1-RTG-letter.html"; header("Location:".$url); } ?>