79464916

Date: 2025-02-24 22:13:56
Score: 2.5
Natty:
Report link

@robinp7720 's answer did not work for my solution.

        $output = '<div class="song_list">';
        foreach($catalog as $catalog_item)
        {
            $catalog_item_parts = explode('.', $catalog_item);
            $extension = $catalog_item_parts[1];
            if($extension == "html")
            {
                $catalog_title = $catalog_item_parts[0];
                $catalog_title = str_replace('_', ' ', $catalog_title);
                $catalog_title = ucwords($catalog_title);
                $output = $output . '<a href="../songs/'. $catalog_item . '">&gt;&gt;</a><br>';
                $output = $output . '<iframe src="../songs/'. $catalog_item . '" height="200"></iframe>';
            }
        }
        $output = $output . '</div>';
.main_body .song_list iframe
{
    width: 100%;
    font-size: 2em;
}
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @robinp7720
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: user1023102