Forum Moderators: coopster
$tito3 = strtolower($title);
$query44 = $DB->query("SELECT id, title FROM news WHERE LOWER(titolo) LIKE '%{$tito3}%' ORDER BY id DESC");
this query show exactly articles with same titles. So, how can make to show articles which have some word same or similar with present article.
it could be any of the following
the term 'related' is a misnomer, they are only related based on how the person making the site decided to relate them. When it comes down to it you can show them the stories you want them to read (meaning get traffic to) and call it 'related'.
it's pretty intensive though, that's why some of the methods I posted above would speed this up significantly