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.
macmen каза:$file = explode(".", $string);
echo $file[1];
$file = 'Avatars/thumbs/thumb_'.$row[username];
Avatars/thumbs/thumb_'.$row[username].'.png';
$file_type = end(explode(".", $string));
echo $file_type;
$file = 'Avatars/thumbs/thumb_'.$row[username];
$file_type = end(explode(".", $file));
echo $file_type;
heminei каза:$file_type = end(explode(".", $string));
echo $file_type;
Трябва да е с end, защото ако в името има точки спира да работи!!!
$file = 'Avatars/thumbs/thumb_'.$row[username];
$file_type = end(explode(".", $file));
echo $file_type;
$file = 'Avatars/thumbs/thumb_'.$row[username];