I am trying to query my SalesForce database using the PHP API. I am successfully retrieving results, however they are largely useless. When doing a print_r on the results, I receive these results from the following query:
Query:
$query = "SELECT C.Id, C.FirstName, C.LastName, C.Email FROM Contact C WHERE C.Email = '*******@gmail.com'";
$response = $client->query($query);
Example print_r output of $response->records:
stdClass Object ( [type] => Contact [Id] => Array ( [0] => ###### [1] => ###### ) [any] => NameTest*********@gmail.com )
I expect to see a [fields] element in the output object, however I am only seeing my fields as a string with no delimiters in this [any] element. I am using the partner.wsdl.xml and am having no problems pushing data to SF, only retrieving. Any ideas how to get a [fields] element or at least a delimiter in the [any] element?