Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-06-2009, 09:47 AM   #1 (permalink)
bhanupriya
New Member
 
Join Date: Mar 2009
Posts: 3
Unhappy Remote Mysql database interaction problem

Hi All,

I am trying to interact with remote mysql database with using NSURL.

below is my code :

NSString *mutableUrlString = @"http://mysite.com/testSample.php?userName=";
mutableUrlString = [mutableUrlString stringByAppendingString: firstnameTextfield.text];
[NSURL URLWithString: mutableUrlString];

In php file added code to insert the username into the database.

If i run this code

In console i am getting the below error

2009-07-06 19:03:09.776 gdb-i386-apple-darwin[500:613] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35

I am unable to interact and insert or retieve the values from the mysql database. PHP code is fine. But if i call that url in iphone the values are not inserting into the database. Iam running this code in IPhone simulator 3.0


Please help me. How i need to solve the problem.

Thanks
bhanupriya is offline   Reply With Quote
 

» Advertisements
» Online Users: 309
17 members and 292 guests
ADY, BdR, BrianSlick, F_Bryant, Herbie, ilmman, Joseph Nardone, laurielaptop, M@realobjects, oztemel, poisenden, Profile, rob.mccarthy, Sunny46, TheWebWizz, VikMyr, yomo710
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,701
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:45 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.