Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-06-2009, 08:47 AM   #1 (permalink)
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
Old 07-07-2009, 12:00 AM   #2 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 3
Unhappy Remote Mysql database interaction problem

Please i need a solution for this problem. No body faced this problem.
bhanupriya is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,212
Threads: 38,996
Posts: 171,042
Top Poster: smasher (2,569)
Welcome to our newest member, wardz
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:07 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0