InMotion Hosting Support Center

Link a search button to an SQL query

Category: Databases

n/a Points
2014-08-21 6:15 pm EST

Hits: 32
How do I link a search button on a webpage to a query/search in mysql. I want a customer to input a product that he searching for and the location of the product and press search and a list of suppliers must be listed on the search page.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



27,085 Points
2014-08-21 6:40 pm EST

Thanks for the question. It will require adding code to your site. If you have the query finished in MySQL, then you can use PHP to get the query to show up on your website page. We do not provide a tutorial for this as it does require some knowledge on how to program. However, you can find information on how to do that by going to Insert PHP MySQL on your website.

I hope that helps to provide the information that you require.

Arnel C.

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!