Jump to content

Extract data


straygrey

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/282534-extract-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.