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
M.M. 

iterating through php array

hello everyone... I already can make queries to salesforce... but now I can't iterate on the array... I'm still very noob to php....

this is the query I'm using...

  $result = $sforce->query(array("queryString" => "Select SolutionNote from Solution where Solution.Status='Revisto'"));
    print_r($result);

the "print_r" prints the whole array...

how can I iterate through all the $result values...


can something like the following be done?

for(i=0; i<10; i++)
{
     print_r($result[i]);
}


Thank you.

M.

adamgadamg
There is a new sample here that might help: