Hey, I have put together an iPhone web app and i’m currently reading and displaying data from a MySQL database. I have added a search bar to this page and was wondering what the best way would be to search the content on the page.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The best way to do this would be via AJAX. When you click “Search”, make an AJAX call with the supplied search string to a PHP page. The PHP page will then take that string and make a MySQL call that will return the data set. The PHP can then return the dataset back to your HTML page.