Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
function bgdate($resource)
{
$arren=array('/May/','/April/');
$arrbg=array('Май','Април');
$resource = preg_replace($arren, $arrbg, $resource);
return $resource;
}
Slavei каза:Код:function bgdate($resource) { $arren=array('/May/','/April/'); $arrbg=array('Май','Април'); $resource = preg_replace($arren, $arrbg, $resource); return $resource; } echo bgdate('31 May 1970');
vankata каза:Slavei каза:Код:function bgdate($resource) { $arren=array('/May/','/April/'); $arrbg=array('Май','Април'); $resource = preg_replace($arren, $arrbg, $resource); return $resource; } echo bgdate('31 May 1970');
да с echo става ама неможе ли това echo да се вгради в самата функция?