This code worked for me. Try putting the print_r statement afterwards and see what you get. Also, what kind of record are you trying to delete e.g. contact, account, lead, etc?Code:require_once ('soapclient/SforcePartnerClient.php'); $mySforceConnection = new SforcePartnerClient(); $mySoapClient = $mySforceConnection->createConnection("soapclient/partner.wsdl.xml"); $mylogin = $mySforceConnection->login($user, $pass); $array = array($id1, $id2); $result = $mySforceConnection->delete($array); print_r($result);



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks