You could do something like:
"select * from table where concat(fielda, fieldb, fieldc ...) like '%$variable%'"
which would find any row where your like string matches one or more of the fields in the concat function (so it's a logical "or" rather than an "and")
Nick.