Ok making a little more progress.. i've created a new script:
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 ID, Name from Account where Client_Id__c='xxxxxx'";
$queryResult = $mySforceConnection->query(($query));
$records = $queryResult->records;
foreach($records as $record) {
$sObject = new SObject($record);
$name=$sObject->fields->Name;
$creditorid=$sObject->Id;
echo "Name: $name<br />";
echo "ID: $creditorid<br />";
}
with this though i'm getting:
PHP Fatal error: Class 'SObject' not found in /var/www/html/sf/test.php on line 15
any thoughts?
Sorry for being such a pain...
-Mike