glmzugur adlı üyeden alıntı: mesajı görüntüle
tam olarak nasıl yapılacagını anlamaım?
Str replace yeterlidir:
$search = ["{username}","{sitename}"];
$replace = ["ExampleUser","ExampleWebsite"];
$string = '{username}, Your account on {sitename} has been blocked. -- {sitename} team ';
$string = str_replace($search, $replace, $string);
echo $string;
https://onlinegdb.com/r1EpNlP6P

iyi forumlar