Link a search button to an SQL query

Avatar
  • Answered
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.
Avatar
Arn
Hello, 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. Regards, Arnel C.