function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shahab KhanShahab Khan 

PHP Toolkit not returning data in sequence

Hello,

I am using PHP latest toolkit.
I have written the query "SELECT Id, Name, Amount, CloseDate, StageName from Opportunity Limit 5"
but toolkit returing the result in different sequence like below
 
[0] => stdClass Object
                (
                    [Id] => 006M000000BcyHxIAJ
                    [Amount] => 50
                    [CloseDate] => 2015-01-21
                    [Name] => Faisal Naeem- Donation 1/21/2015
                    [StageName] => Posted
                )

            [1] => stdClass Object
                (
                    [Id] => 006M000000BcyIUIAZ
                    [Amount] => 50
                    [CloseDate] => 2015-02-11
                    [Name] => Faisal Naeem Donation (4) 2/11/2015
                    [StageName] => Pledged
                )

There should be first ID then Name then amount then close date and the last stagename.
Can any body help me how to get result data in sequence.?

Thanks,
Faraz
ShashankShashank (Salesforce Developers) 
Please try posting it as an issue here: https://github.com/developerforce/Force.com-Toolkit-for-PHP/issues