diff --git a/ajax/ajax_getcustomq.php b/ajax/ajax_getcustomq.php index 5492742..bc21254 100644 --- a/ajax/ajax_getcustomq.php +++ b/ajax/ajax_getcustomq.php @@ -9,20 +9,22 @@ $sth = $globaldbh->prepare($query); $sth->execute($fields); $data = array(); -$firstsong = true; +$data["customq"] = array(); while ( $row = $sth->fetch() ) { $songid = $row['songid']; $song = new Song($songid); - echo "
\n"; - echo " {$song->getTitle(HTMLSAFE)}
\n"; - echo " {$song->getArtist(HTMLSAFE)}
\n"; - echo " {$song->getAlbum(HTMLSAFE)}