Код: Выделить всё
$demo = '[url=https://www78.zippyshare.com/v/AQg3SYMQ/file.html]1. Like Im Fabo.mp3[/url][url=https://www78.zippyshare.com/v/TPRugyFb/file.html]2. Stic _Em Up.mp3';
$arr = explode("[/url]", $demo);
print '
';
print_r($arr);
print '';
Код: Выделить всё
Array
(
[0] => [url=https://www78.zippyshare.com/v/AQg3SYMQ/file.html]1. Like Im Fabo.mp3
[1] => [url=https://www78.zippyshare.com/v/TPRugyFb/file.html]2. Stic _Em Up.mp3
)
Код: Выделить всё
Array
(
[0] => https://www78.zippyshare.com/v/AQg3SYMQ/file.html
[0] => 1. Like Im Fabo.mp3
[1] => https://www78.zippyshare.com/v/TPRugyFb/file.html
[1] => 2. Stic _Em Up.mp3
)
Подробнее здесь: https://stackoverflow.com/questions/518 ... nto-an-arr
Мобильная версия