Couldn't access your site for a while and got it working before it was back up... here is the code:
PHP Code:
require_once ('soapclient/SforceEnterpriseClient.php');
$mySforceConnection = new SforceEnterpriseClient();
$mySoapClient = $mySforceConnection->createConnection("enterprise.wsdl.xml");
$mylogin = $mySforceConnection->login("user@domain.com", "password");
$query = "SELECT Name, Creditor_Id__c from Creditor__c";
$queryResult = $mySforceConnection->query($query);
$records = $queryResult->records;
echo "Number of Results: ".count($records)."<br />";
foreach($records as $record) {
$name=$record->Name;
$creditorid=$record->Creditor_Id__c;
echo "Name: $name<br />";
echo "ID: $creditorid<br />";
}
Now I'm going to attempt my original script that actually creates records
will keep ya posted... thanks for the help