SELECT tutorials.title, tutorials.dateadded, tutorials.featured, tutorials.string, tutorials.summary, tutorials.avatarfilename, categories.title AS catname, categories.string AS catstring, users.username, users.ID AS userID, MATCH(tutorials.title, tutorials.summary, tutorials.content) AGAINST ('$searchterm' IN BOOLEAN MODE) AS score FROM tutorials, categories, users WHERE categories.ID = tutorials.categoryID && users.ID = tutorials.authorID && MATCH(tutorials.title, tutorials.summary, tutorials.content) AGAINST ('$searchterm' IN BOOLEAN MODE) ORDER BY score DESC