The query below will be used a search script. For some reason it won\'t return all results where either condition is true. What am i doing wrong?
$sql = \"SELE
You really shouldn't be using MySQL for fulltext search (see: http://en.wikipedia.org/wiki/Full_text_search). Instead, consider using MySQL's fulltext capabilities: http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html. Or possibly even better, use a "real" fulltext search engine like Lucene (see: http://lucene.apache.org/) or Sphinx (see: http://sphinxsearch.com/).