I'd like to find related entries in MySQL database by looking for similar terms as the current article title. Say that I have in my db the following id title 1 Some words here 2 Separate tags using a comma 3 You may add 5 tags to this thread 4 Something else Code (markup): If the current article is $title='Separate tags using a comma'; Code (markup): The related entry is You may add 5 tags to this thread because is containg one of the words - in our case tags Thanks
What about the second one saying seperate tags using a comma?? Which also contains tags?? You can use explode function in php and then run a loop to get all the results