I am sure it is somthing simple that I am just overlooking. I am getting a phase error at line 150. I know this is alot of code, but I posted the entire if statment to be sure, but the code posted starts at line 83 and ends with line 151.
if ($FormType == "Purchase")
{
echo "<tr align='center' valign='middle' bgcolor='#999999'>
<td align='left'><b>$i. What type of Loan are you looking for?</b></td>
<td colspan='2'><select size='1' name='FLoanTypeW'>
<option selected value='1'>Unknown</option>
<option value='2'>Conventional</option>
<option value='3'>FHA</option>
<option value='4'>VA</option>
<option value='5'>Non Conf</option>
</select></td>
</tr>";
$i=$i+1;
echo "<tr align='center' valign='middle' bgcolor='#999999'>
<td align='left'><b>$i. What Loan Term are you looking for?</b></td>
<td colspan='2'><input type='radio' value='30' checked name='FTerm'>30
Years<input type='radio' name='FTerm' value='15'>15 Years<input type='radio' name='FTerm' value='Other'><input type='text' name='FTermOther' size='4'>Years</td>
</tr>";
$i=$i+1;
echo "<tr align='center' valign='middle' bgcolor='#999999'>
<td align='left'><b>$i. What Type of Rate are you looking
for?</b></td>
<td colspan='2'><input type='radio' name='FRateType' value='1' checked>Open<input type='radio' name='FRateType' value='2'>Fixed
<input type='radio' name='FRateType' value='3'>Adjustable<input type='radio' name='FRateType' value='4'>Int.
Only</td>
</tr>";
$i=$i+1;
echo "<tr align='center' valign='middle' bgcolor='#999999'>
<td align='left'><b>$i. Are you currently under contract to purchase your
home?</b></td>
<td><input type='radio' name='FPurContract' value='1'>Yes<input type='radio' name='FPurContract' value='2' checked>No</td>
<td><b>Closing Date:</b><input type='text' name='FPurClosingDate' size='12'>
<br>
<b>Purchase Price:</b> $<input type='text' name='FPurPrice' size='15'>
<br>
<b>Down Payment: </b>
<input type='text' name='FPurDownPayment' size='11'><br>
<b>Source:</b>
<input type='radio' name='FPurPaymentSource' value='1' checked>Savings
<input type='radio' name='FPurPaymentSource' value='2'>Checking
<input type='radio' name='FPurPaymentSource' value='3'>Gift</td>
</tr>";
$i=$i+1;
echo "
<tr align='center' valign='middle' bgcolor='#999999'>
<td align='left' rowspan='2'><b>$i. What is the location of the property?</b></td>
<td><b>Street Address:</b></td>
<td><input type='text' name='FPurPropertyAdd' size='20'></td>
</tr>
<tr align='center' valign='middle' bgcolor='#999999'>
<td><b>City, State, Zip:</b></td>
<td><input type='text' name='FPurPropAddCity' size='13'><input type='text' name='FPurPropAddSt' size='3'><input type='text' name='FPurPropAddZip' size='6'></td>
</tr>";
$i=$i+1;
echo "
<tr align='center' valign='middle' bgcolor='#999999'>
<td align='left'><b>$i. What is the Realtor's information.</b></td>
<td><input type='checkbox' name='FPurRealtor' value='2'>No Realtor </td>
<td><b>Name:</b> <input type='text' name='FPurRealtorName' size='20'><br>
<b>Phone:</b> <input type='text' name='FPurRealtorPhone' size='20'></td>
</tr>";
$i=$i+1;
}
Thanks