Music - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Music

GameFreak7744GameFreak7744 Posts: 36Member
How would you make a music selector, something that lets you select a music from a dropdown and then click go to play it? Is it evenb possible in PHP or do I need to use something else?

Comments

  • turbo_eagleturbo_eagle Posts: 14Member
    : How would you make a music selector, something that lets you select a music from a dropdown and then click go to play it? Is it evenb possible in PHP or do I need to use something else?
    :
    do something like this:
    (music.html)
    Music Selector

    Select Music:



    Music 1
    Music 2


    (music.php)
    <?php
    $mus = $_POST['mus'];
    ?>
    Music

    <?php echo "<embed src=$mus.wav>"; ?>



    That should work, check up on the embed command and stuff. I don't use music on my stuff.


Sign In or Register to comment.