Send key search from my iPhone to MySQL using JSON

I've problem with using JSON in my iPhone app, In my app there is a search function to search in MySQL database and display the result in table view. My Problem is how can i send the key search to the php page, and get a result to display it in table view.

Any tutorial can help, Thanks in Advance


You will need to create and host a php page which runs your MySQL query and returns the result as a JSON string. Here is how to do that.

As for the iPhone app, you want to look at NSMutableURLRequest. Here is a tutorial on how to use it. In the tutorial replace the json url with the url of your php file.

Need Your Help

ERR Failed to find file(s) for depdency reference

extjs build sencha-touch sencha-touch-2

I have added extra js file Fileup.js for file upload functionality.It works fine,but while building trigger this error.I have put Fileup.js directly under extensions folder.Any help?

Last four rows of table view will not move out from under keyboard

objective-c ios cocoa-touch uitableview

I have a table view with four sections and a total of 21 rows, in which each cell contains a text field on the right side.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.