Title: Custom search function to query into Database Table
Last modified: August 22, 2016

---

# Custom search function to query into Database Table

 *  [Maruful Islam](https://wordpress.org/support/users/maruful-islam/)
 * (@maruful-islam)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-search-function-to-query-into-database-table/)
 * I’m trying to design a custom search function that will **receive user supplied
   inputs, query a database table, retrieve rows and display in a page.**
 * I need a little idea how would I customize/overwrite the default search function
   to enable it handle SQL queries.
 * Thanks in advance.

Viewing 1 replies (of 1 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-search-function-to-query-into-database-table/#post-5201092)
 * Suggest that you do what I did. Search the plugins, find one which has the techniques
   you need and adapt it from there. It is polite to retain an attribution to the
   author.
    I started with: “wp-csv-to-db” plugin by Ruhul Amin

Viewing 1 replies (of 1 total)

The topic ‘Custom search function to query into Database Table’ is closed to new
replies.

## Tags

 * [db-query](https://wordpress.org/support/topic-tag/db-query/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/custom-search-function-to-query-into-database-table/#post-5201092)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
