i need to replace a word with the contents of a file but i dont know how
i tried:
but had no luck
TIA
i tried:
PHP Code:
$string="hehefhrhnewsiorfji";
$news=file("news.php");
$string=str_replace("news",$news,$string);
echo $string;
TIA
Comment