Hi!
I'm rather new to pho coding and I can't find what's forcing this error. Can anyone help me figure it out?
error; you need to submit the form!
Warning: Cannot modify header information - headers already sent by (output started at /home/sakkana/public_html/njmressex/verify.php:18) in /home/sakkana/public_html/njmressex/verify.php on line 93
<form action="verify.php" method="post" id="get-rates" name="get-rates">
<table border="0" cellpadding="0" cellspacing="0" class="form">
<tr>
<td colspan="4" align="left"><input name="firstname" type="text" class="text" id="name2" size="30" maxlength="255" /></td>
<td align="right"><input name="lastname" type="text" class="text" id="name" size="30" /></td>
</tr>
<tr>
<td colspan="4" align="right"><label for="firstname">First Name</label></td>
<td align="right"><label for="lastname">Last Name</label></td>
</tr>
<tr>
<td colspan="5" align="left"><input name="email" type="text" class="text" id="email" size="80" /><br/><script type="text/javascript">
var email = new LiveValidation('email');
email.add(Validate.Email );
</script></td>
</tr>
<tr>
<td colspan="5" align="right"><label for="email">E-Mail</label></td>
</tr>
<tr>
<td colspan="4" align="left"><input name="phone" type="text" class="text" id="phone" size="30" />
<script type="text/javascript">
var phone = new LiveValidation('phone');
phone.add( Validate.Length, { is: 14 } );
</script></td>
<td align="right"><input name="zip" type="text" class="text" id="zip" size="30" />
<script type="text/javascript">
var zip = new LiveValidation('zip');
zip.add( Validate.Length, { is: 5 } );
</script></td>
</tr>
<tr>
<td colspan="4" align="right"><label for="phone">Phone Number</label>
<br>
<small>(###) ### - ####</small></td>
<td align="right"><label for="zip">Zip Code</label>
</td>
</tr>
<tr>
<td colspan="5" align="left"><input name="homevalue" type="text" class="text right" id="homevalue" size="80" /></td>
</tr>
<tr>
<td colspan="5" align="right"><label for="homevalue">Est. Home Value/Purchase Price</label></td>
</tr>
<tr>
<td colspan="5" align="right"> </td>
</tr>
<tr>
<td colspan="4" align="left"><select id="type" name="type" style="width:210px; display:block;">
<option value="Purchase" selected="selected"> Purchase </option>
<option value="Rate/Term Refinance"> Rate/Term Refinance </option>
<option value="Cash-Out Refinance"> Cash-Out Refinance </option>
<option value="Debt Consolidation Refinance"> Debt Consolidation Refinance </option>
</select></td>
<td align="right"><select id="purpose" name="purpose" style="width:210px; display:block;">
<option value="Primary Home" selected="selected"> Primary Home </option>
<option value="2nd Home"> 2nd Home </option>
<option value="Investment Property "> Investment Property </option>
</select></td>
</tr>
<tr>
<td colspan="4" align="right"><label for="type">Type of Loan</label></td>
<td align="right"><label for="purpose2">How will you use the property?</label></td>
</tr>
<tr>
<td colspan="4" align="right"> </td>
<td align="right"> </td>
</tr>
<tr>
<td colspan="4" align="left"><select name="1st-rate" id="1st-rate" style="width:210px; display:block;text-align:right">
<option value="0.25% - 0.50%" style="text-align:right">0.25% - 0.50%</option>
<option value="0.50% - 0.75%">0.50% - 0.75%</option>
(...)
<option value="10.75% - 11.00%">10.75% - 11.00%</option>
</select></td>
<td align="right"><select name="1st-balance" id="1st-balance" style="width:210px; display:block;">
<option value="10.000" >10.000 USD</option>
(...)
<option value="1.000.000+" >1.000.000+ USD</option>
</select></td>
</tr>
<tr>
<td colspan="4" align="right"><label for="1st-rate2">1st Mortgage interest rate</label></td>
<td align="right"><label for="1st-balance2">1st Mortgage balance</label></td>
</tr>
<tr>
<td colspan="4" align="right"> </td>
<td align="right"> </td>
</tr>
<tr>
<td colspan="4" align="right"><label for="2nd-mortgage2">Do you have a second mortgage?</label></td>
<td align="right"><select name="additionalcash" id="additionalcash" style="width:210px; display:block;text-align:right">
<option value="0 USD" >0 USD</option>
(...)
<option value="400.000 USD" >400.000 USD</option>
</select></td>
</tr>
<tr>
<td colspan="4" align="right">Yes <input type="radio" name="2nd-mortgage" value="yes">
No <input type="radio" name="2nd-mortgage" value="no"></td>
<td align="right"><label for="additionalcash2">How much addtional cash do you wish to borrow?</label></td>
</tr>
<tr>
<td colspan="4" align="right"> </td>
<td align="right"> </td>
</tr>
<tr>
<td colspan="4" align="right"><label for="credit-profile2">Credit Profile</label></td>
<td align="right"><label for="bankrupt3">Any bankruptcies in the past 7 years?</label></td>
</tr>
<tr>
<td align="center"><input type="radio" name="credit-profile" value="excellent">
<br>
Excellent</td>
<td align="center"><input type="radio" name="credit-profile" value="good">
<br>
Good</td>
<td align="center"><input type="radio" name="credit-profile" value="fair">
<br>
Fair</td>
<td align="right"><input type="radio" name="credit-profile" value="poor">
<br>
Poor</td>
<td align="right">Yes
<input type="radio" name="bankrupt" value="yes">
No
<input type="radio" name="bankrupt" value="no"></td>
</tr>
<tr>
<td colspan="4" align="right"> </td>
<td align="right"> </td>
</tr>
<tr>
<td colspan="5" align="center"></td>
</tr>
<tr>
<td colspan="5" align="center"><?php
require_once('recaptchalib.php');
$publickey = "6Lc-v9gSAAAAAMwOpTAXLMK_l5uqlH0xBcwHI9qE"; // you got this from the signup page
echo recaptcha_get_html($publickey);
?></td>
</tr>
<tr>
<td colspan="5" align="center"> </td>
</tr>
<tr>
<td colspan="5" align="center"><input type="submit" name="submit" value="Submit"/></td>
</tr>
</table>
</form>
<script language="JavaScript">
// Code for validating the form
// Visit [url]http://www.javascript-coder.com/html-form/javascript-form-validation.phtml[/url]
// for details
var frmvalidator = new Validator("get-rates");
frmvalidator.addValidation("firstname","req","Please provide your First Name");
frmvalidator.addValidation("lastname","req","Please provide your Last Name");
frmvalidator.addValidation("email","req","Please provide your email");
frmvalidator.addValidation("email","email","Please enter a valid email address");
</script>