Jump to content

music streaming


morge2003

Recommended Posts

Hi there, im creating a music streaming website but have come up with a problem, when i call for the music from database, they all play at the same time, i have tried using autostart = false but that doesnt seem to work, please can someone help?

 

echo "<table border=1>\n<tr>" . 

              "<th>No</th>" . 

              "<th>Title</th>" . 

              "<th>Artist</th>" . 

  "<th>Image</th>" .

  "<th>Music</th>".

  "</tr>"; 

 

        while ($row = @ mysql_fetch_array($result)) 

        { 

         

            echo "<tr>" . 

                "<td>" . $row["no"] . "</td>" . 

                "<td>" . $row["title"] . "</td>" . 

                "<td>" . $row["artist"] . "</td>" . 

"<td><img src= ".$row["image_name"]." ></td>" .

"<td><embed src= ". $row["music"]."></td>" .

                "</tr>"; 

        }

        <table> 

        echo "</table>"; 

    }

 

 

    echo mysql_num_rows($result). " records found matching your criteria<br>"; 

 

  mysql_close($connection); 

?>

Link to comment
https://forums.phpfreaks.com/topic/78743-music-streaming/
Share on other sites

  • 5 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.