function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

how to display contacts ,leads in XML format in PHP



I have PHP page which returns task is to show these contacts.leads in xml format.


Please provide me some code or links for this one


The API will return the data into the array. If you are looking to turn that array into XML you will need to loop through the array and manually echo out the formats of XML you want (may be the best solution) or look into SimpleXML (