function addCon(){
global $client, $key;
###Create our contact array###
$contact = array(
"Title" => $_POST['title'],
"FirstName" => $_POST['fName'],
"LastName" => $_POST['lName'],
"Email" => $_POST['eMail'],
"StreetAddress1" => $_POST['Address1'],
"StreetAddress2" => $_POST['Address2'],
"City" => $_POST['City'],
"State" => $_POST['State'],
"PostalCode" => $_POST['zip'],
"Phone1" => $_POST['Phone1'], );
###Build the Call###
$call = new xmlrpcmsg("ContactService.add",array(
php_xmlrpc_encode($key),
php_xmlrpc_encode($contact),
));
###Send the call###
$result=$client->send($call);
if(!$result->faultCode()) {
return $result->value();
} else {
echo "";
return "ERROR"; }
}