I\'m trying to make a simple search bar that searches through my database for certain words. It is possible to use the LIKE attribute without using WHERE? I want it to sear
There IS a shortcut ! ;)
SELECT * FROM shoutbox WHERE CONCAT(name, foo, bar, baz) LIKE '%$search%'