I need to replace this html code:
Actors: Mamoru Miyano, Kappei Yamaguchi, Aya Hirano
with this code:
Actors: <a href="http://example.com/actor/Mamoru Miyano">Mamoru Miyano</a>, <a href="http://example.com/actor/Kappei Yamaguchi">Kappei Yamaguchi</a>, <a href="http://example.com/actor/Aya Hirano">Aya Hirano</a>
Is it possible?
In control panel i cannot see actors list i see only this: [xfvalue_actors]
and i tried to replace as this:
<a href="http://myfilms.ga/actor/<?php $str = '[xfvalue_actors]'; echo preg_replace('/, /', '"></a><a href="http://myfilms.ga/actor/', $str, 20); ?>/">[xfvalue_actors]</a><br />
but i get it:
<a href="http://myfilms.ga/actor/Mamoru Miyano"></a><a href="http://myfilms.ga/actor/Kappei Yamaguchi"></a><a href="http://myfilms.ga/actor/Aya Hirano">Mamoru Miyano, Kappei Yamaguchi, Aya Hirano</a><br />
Can you try this and tell me how it is working?
As a result I am getting:
Actors: <a href='http://myfilms.ga/actor/Mamoru Miyano'>Mamoru Miyano</a><br />,<a href='http://myfilms.ga/actor/ Kappei Yamaguchi'> Kappei Yamaguchi</a><br />,<a href='http://myfilms.ga/actor/ Aya Hirano'> Aya Hirano</a><br />Hope this is what you need! :)