#1820
Grisha
Grisha
Участник

вот так?

$name_user=$row[“name_user”];
$date_create=$row[“date_create”];

$makrosi = array(“[:name_user:]”, “[:date_create:]”);

$dannie = array($name_user, $date_create);

$rez[“text_news”] = str_replace($makrosi, $dannie, $rez[“text_news”]);