Let's say i have:
$title = "Rihanna - Man Down";
and a database multiple rows including one with a field called "name" with the "Rihanna" value
now... how can i check if in $title exists "Rihanna" and if it does how to add a link on "Rihanna" like this:
with other words check if one of the expresions from $title exists the database
- i think this second formulation it is better
<a href="artist?id=Rihanna">Rihanna</a> - Man Down
I want to do something like youtube does at some of it;s music videos to be more clear