Get data using XML and PHP

Discussion in 'iPhone/iPad Programming' started by Sergio10, Apr 25, 2009.

  1. macrumors regular

    Joined:
    Oct 3, 2007
    #1
    Hi,

    I need to get data via PHP which creates XML file.
    According to this link: http://www.brunokruse.com/?p=481 I suggest to get XML data as resuilt of PHP script
    The workflow is next:

    1. iPhone POSTING a request to the WebServer using HTTP
    2. Web Server connecting to the MySQL database
    3. Web Server returning data to the iPhone (XML, plain text)
    4. iPhone processing the data

    How to get XML and process on IPhone?
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Look at NSURLConnection and NSXMLParser.
     
  3. macrumors regular

    jjgraz

    Joined:
    Feb 13, 2009

Share This Page