user servicesidekick API using PHP

Discussion in 'PHP' started by xpertdev, Apr 25, 2011.

  1. #1
    I want to use the servicesidekick API using php, as per their documentation at here: http://www.servicesidekick.com/help/api

    They are suggesting to use curl for this. I am suppose to get xml file in response.

    Below is my code:

    exec('command',$data);
    PHP:
    when I print the $data then its giving each line of xml in each element of Array. But i want it to be accessed as the XML file.

    hope I makes you clear with my problem. Let me know if further req. reuired.
     
    xpertdev, Apr 25, 2011 IP