You need to sign in to do that
Don't have an account?
DG-Angel
Extract variable values from sf:LastModifiedDate...sf:LastModifiedDate
Hi
I am getting this [any] object with lots of fields like this
["any"]=>
string(67) "<sf:LastModifiedDate>2007-06-01T14:23:18.000Z</sf:LastModifiedDate>"
string(67) "<sf:LastModifiedDate>2007-06-01T14:23:18.000Z</sf:LastModifiedDate>"
how do I extract the LastModifiedDate from here also if there are two tags in [any] object like this
["any"]=>
string(67) "<sf:LastModifiedDate>2007-06-01T14:23:18.000Z</sf:LastModifiedDate><sf:Variable>2007-06-01T14:23:18.000Z</sf:variable>"
string(67) "<sf:LastModifiedDate>2007-06-01T14:23:18.000Z</sf:LastModifiedDate><sf:Variable>2007-06-01T14:23:18.000Z</sf:variable>"
how do i extract both LastModifiedDate and Variable from this object here in php
Please let me know if someone has done this before. I need to extract these variable vaues from this [any]. These variables are result of my query to CASE object.
The result looks like this
object(stdClass)#15 (4) {
["done"]=>
bool(true)
["queryLocator"]=>
NULL
["records"]=>
array(1) {
[0]=>
object(stdClass)#16 (3) {
["type"]=>
string(4) "Case"
["Id"]=>
NULL
["any"]=>
string(67) "<sf:LastModifiedDate>2007-06-01T14:23:18.000Z</sf:LastModifiedDate>"
}
}
["done"]=>
bool(true)
["queryLocator"]=>
NULL
["records"]=>
array(1) {
[0]=>
object(stdClass)#16 (3) {
["type"]=>
string(4) "Case"
["Id"]=>
NULL
["any"]=>
string(67) "<sf:LastModifiedDate>2007-06-01T14:23:18.000Z</sf:LastModifiedDate>"
}
}
Thanks
DG