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 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. Link to comment https://forums.phpfreaks.com/topic/132521-search-statement/#findComment-689617 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.