Quote:
Originally Posted by bhanupriya
Hi All,
I am trying to interact with remote mysql database with using NSURL.
below is my code :
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
|
Try this
mutableUrlString=[NSString stringWithFormat:@"http://mysite.com/testSample.php?userName=%@",firstnameTextfield.tex t];
[NSURL URLWithString: mutableUrlString];