PHP Script needed to show a single value from a stdClass object and export a stdClass object to a csv
£10-20 GBP
Paid on delivery
I need a PHP script created that queries an exisiting WSDL Soap service. I can get the correct results returned from an exising script. I need the results refined to show only one value and have the abilty to export these to a CSV? This what it returns when I use print_r($response):
stdClass Object ( [data] => stdClass Object (
[array] => stdClass Object (
[articleLinkages] => stdClass Object (
[array] => Array (
[0] => stdClass Object (
[articleLinkId] => 18973666
[linkingTargetId] => 29480
[linkingTargetType] => P
)
[1] => stdClass Object (
[articleLinkId] => 18973667
[linkingTargetId] => 29481
[linkingTargetType] => P
)
[2] => stdClass Object (
[articleLinkId] => 18973683
[linkingTargetId] => 29482
[linkingTargetType] => P
)
[3] => stdClass Object (
[articleLinkId] => 18973763
[linkingTargetId] => 34928
[linkingTargetType] => P
)
[4] => stdClass Object (
[articleLinkId] => 18973699
[linkingTargetId] => 29483
[linkingTargetType] => P
)
[5] => stdClass Object (
[articleLinkId] => 18973715
[linkingTargetId] => 29484
[linkingTargetType] => P
)
[6] => stdClass Object (
[articleLinkId] => 18973731
[linkingTargetId] => 29485
[linkingTargetType] => P
)
[7] => stdClass Object (
[articleLinkId] => 18973779
[linkingTargetId] => 34929
[linkingTargetType] => P
)
)
)
) )
[status] => 200 )
I only want to see the linkingTargetId values. Like this.
29480,
29481,
29482,
34928,
29483,
29484,
29485,
34929,
Total Results = 8
Project ID: #16654951
About the project
Awarded to:
Hi, I have the solution to this with me print_r(implode(",\n",$response->data->array->articleLinkages->array)); print("\n Total results=" count($response->data->array->articleLinkages->array); please try this and More
20 freelancers are bidding on average £17 for this job
I am experienced php developer and web designer with the depth knowledge related to MySQL,Laravel,WordPress,MSSQL,JSON,JAVASCRIPT,AJAX,XML,jQuery,CSS,HTML5,Material Designing with the integration of web technologies. I More
Hi there, I am PHP Developer. I am ready to start your work right now. Please award me project and Let me finish your work right now. Thanks
Hello There, I checked your example on the project description, I hope I can assist you to can this, I'm a Website developer and designer I'm working on wordpress, woocommerce, php, oop, html, js, css ets. with More
Hello, I have 4+ years of experience working in Javascript and PHP project. I can modify the script as you want and create the export option also. Please check my previous reviews and let me know if you are interest More
Hello. Hope you are doing fine. I am highly skilled in PHP as my reviews reflect as well. I can handle this easily and perfectly. PM me to discuss further. Thank you.
Hi, good day, I'd like to help you, I can do a demo and show you via teamviewer, just give 1 hour. feel free to contact me.
Hi, I can do your task in hours. I have experience in object parsing, classes etc. Please select me. Best Wishes
YOUR REQUIREMENT NEEDS OBJECT CONVERSION THAT I CAN DO EASILY AS I HAVE WORKED WITH WSDL APIS. With an overall experience of 12 years in creation and development of digital properties and online marketing activities More