Need help with output XMPLAPI.php
Hi i need help and i hope and i think i will get solution here as i am trying to get
$xmlapi->api2_query( $account, 'ZoneEdit', 'fetchzone', array( "domain" => $domain,"name"=>'subdomainname' ) ))
after that when i echo it in php i get space and blank page so i do
var_dump($xmlapi->api2_query( $account, 'ZoneEdit', 'fetchzone', array( "domain" => $domain,"name"=>'subdomainname' ) ))
and i got the result
so all i need is line number so can u plz tell me how can i store line number in my variable plz complete code will be highly appreciated
object(SimpleXMLElement)#2 (5) { ["apiversion">=> string(1) "2" ["data">=> object(SimpleXMLElement)#4 (4) { ["record">=> object(SimpleXMLElement)#5 (8) { ["name">=> string(21) "qaz.outclasshost.com." ["Line">=> string(2) "58" ["address">=> string(15) "206.190.159.177" ["class">=> string(2) "IN" ["line">=> string(2) "58" ["record">=> string(15) "206.190.159.177" ["ttl">=> string(5) "14400" ["type">=> string(1) "A" } ["serialnum">=> string(10) "2014112401" ["status">=> string(1) "1" ["statusmsg">=> string(15) "Zone Serialized" } ["event">=> object(SimpleXMLElement)#3 (1) { ["result">=> string(1) "1" } ["func">=> string(9) "fetchzone" ["module">=> string(8) "ZoneEdit" } so all i need is line number so can u plz tell me how can i store line number in my variable plz complete code will be highly appreciated
-
o i sort it ijust converted the output to json [COLOR="silver">- - - Updated - - - plz close this or remove this thread thx 0 -
]o i sort it ijust converted the output to json
Hello :) I am happy to see the issue was addressed. Thank you for updating us with the outcome.0
Please sign in to leave a comment.
Comments
2 comments