Please tell me how I would extract the data line by line from the following which was returned from a call to a webservice.
object(stdClass)#7 (1) {
["GetMediaListResult"]=>
object(stdClass)#8 (1) {
["string"]=>
array(2) {
[0]=>
string(5) "1.mp4"
[1]=>
string(5) "2.mp4"
}
}
}
What I require is to get the string "1.mp4" into a variable followed by "2.mp4" into another variable.