Jump to content

Beginner's Question - Searching Multiple Fields In A Table


Recommended Posts

// Build SQL Query  $query = "select * from imageupload where description like \"%$trimmed%\"    order by name"; // EDIT HERE and specify your table and field names for the SQL query

What I'm trying to do is also search for $trimmed in the name field of my table in the database... I feel bad making a new topic for such a simple question, but I'm having trouble finding a solution. Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...