PDA

View Full Version : using php dom to xml connecting to NSXMLParser




GoneNuts
Jul 10, 2010, 05:25 PM
Can you connect NSXMLParser to a php script using the DOM to extract MYSQL and convert it xml, then using the NSXMLParser to load it the data into a viewtable with cells?

Is this the best way to load data from a MYSQL to iPone viewtable?

I have already written the php script and the script runs great.

I have written NSXMLParser it connects to the php script but when iPhone sim runs it crashes. I'm in debugging mode and still trying to figure it out.

If anyone has done this before can you help me solve my issue.



Shannighan
Jul 11, 2010, 06:26 AM
Why wouldn't you cut out the middle man and use SQLite?

GoneNuts
Jul 11, 2010, 09:47 AM
Thanks for your reply but I am trying to build a web base user protect app. Plus the data base would take up a lot of space and would need updating regularly.

Dose anyone have a good solution to my problem or can you point in write direction I would appreciate it.

Thanks People.