As far as the database goes it connects just fine and inputes everything but multipal values for the checkboxes.
<?
$con = mysql_connect("localhost", "botlife-2", "botlife");
mysql_select_db("botlife-2", $con);
$sql="INSERT INTO lenders (contactname, titlecompany, emailc, loginpass, state, zip
,phone, fax, password, lenderbroker, leadsperday, loanType, creditTypes, propertyTypes, licensedStates)
VALUES
('$_POST[companyname]','$_POST[titlecompany]','$_POST[emailc]','$_POST[loginpass]','$_POST[state]'
,'$_POST[zip]','$_POST[phone]','$_POST[fax]','$_POST[password]'
,'$_POST[lenderbroker]','$_POST[leadsperday]','$_POST[loanType]','$_POST[types]','$_POST[propertyTypes]','$_POST[licensedStates]')";
if (!mysql_query($sql, $con))
{
die('Error: ' . mysql_error());
}
echo "1 record added";
mysql_close($con)
?>