Home > MySQL, PHP, Wordpress > Query Function For Wp Plugin

Query Function For Wp Plugin

December 16th, 2009

I have a small wordpress plugin which creates a database table to keep details of people.

I need a function created that will allow the users to search the database for specific things and display the results in a table below.

They will be able to search the following values:

id
first name
last name
email
company name

And they will be able to choose the following criteria from a list:

IS
IS NOT
STARTS WITH
ENDS WITH
CONTAINS
DOES NOT CONTAIN

The user will be able to search the database with one or all of the values or criteria.

I already have the plugin and the page built for this function. I just need the coding to create the function

Thanks


Query Function For Wp Plugin