Q695 Posted November 13, 2008 Share Posted November 13, 2008 Why doesn't this work, and is there a way to make it work? SELECT * FROM ads WHERE ( * LIKE '%a%' ) OR ( * LIKE '%b%' ) # Server version: 5.0.51a-community # Protocol version: 10 # Server: Localhost via UNIX socket Quote Link to comment https://forums.phpfreaks.com/topic/132521-search-statement/ Share on other sites More sharing options...
fenway Posted November 13, 2008 Share Posted November 13, 2008 I can only guess what you mean by "this" and "it"... mysql won't let you automatically query EVERY field in a table. That's what full-text is for. Quote Link to comment https://forums.phpfreaks.com/topic/132521-search-statement/#findComment-689617 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.