Microsoft
Software
Hardware
Network
Question : MySQl ---> xxx ---> xxx iPhone
Hello all,
My understanding is that there is no official framework for MySQL from within XCode. I have seen that there are a couple of unofficial workarounds but can prove a security risk.
I am competent in PHP & SQL and after rooting around here on Experts-Exchange and Google I believe the way forward is to use PHP to print the results into XML format and then use NSarray to store the results.
I have seen the following code:
NSURL *myURL = [NSURL URLWithString:@"
http://www
.myserver.
com/result
s.php
"];
NSArray *sqlResults = [[NSArray alloc] initWithContentsOfURL:myUR
L];
I do not fully grasp the code above yet and I would love to see a a high score table example which simply retrieves from a table a username and their high score and displays it on the iPhone. Any help would be appreciated and if you need any more information please just ask.
Many thanks in advance, Colin.
Answer : MySQl ---> xxx ---> xxx iPhone
There are tons of sample on the web:
http://www.iphonesdkarticl
es.com/200
8/11/parsi
ng-xml-
fil
es.html
Random Solutions
iMac Snow Leopard Mouse pointer jitter and always go back to upper left corner
Display Yes/No field of a query as a checkbox
IRQL_NOT_LESS_OR_EQUAL MESSAGE
vlan isolation - need to keep a vlan from seeing network
Hyper-V P2V VM Continuous Blue Screen
Juniper Network Connect won't reconnect after forced logout
XP 10 inbound connection limit question
OS X Server 10.5 and OS X Laptops Joining accounts to Open Directory?
Adobe - monitor profile [..] appears to be defective. Please rerun your monitor calibration software
PHP/Javascript newbie - need help integrating niftycube into my site