document.getElementById("audio-player"),
songs: [
<?php
$sql = mysqli_query($con, "SELECT * FROM pages_player WHERE type ='hiplife' ORDER BY id DESC ");
while($row = mysqli_fetch_assoc($sql)){
echo ' {
image : " '.$row['thumbnail'].'",
name : " '.$row['name'].'",
srcs: [
{
src : "'.$row['file'].'",
type : "audio/mp3"
}
]
},';
}
?>
{
image: "playlist_musics/images/areiana grand no tears to cry.jpg",
name: "Ariana Grande-No Tears To Cry",
srcs: [
{
src: "playlist_musics/listen/ariana_grande_no_tears_left_to_cry.mp3",
type: "audio/mp3"
}
]
}
]
});
}).call(this);
It looks like you posted long piece of code, consider editing it out and putting it on hastebin.com and pasting link to it instead. Alternatively, send your code in a file.
Обсуждают сегодня