hi,
I'm actually building a small search engine based on the LIKE funktion of MySQL. That means my query looks so :
SELECT * FROM articles WHERE content LIKE('%".$squery."%')
Works perfectly, but now its nessesary for me to add more than one field to look in, that means something like that :
SELECT * FROM articles WHERE content OR details OR time LIKE('%".$squery."%')
But this query only returns all entrys that match the last given fielt (in this case 'time'). Did i something wrong or is the only possible whay to handle such thing working with indexes ?