Jump to content

Add music/sound to php/mysql


pieter-jan

Recommended Posts

Hello,

I do have a problem and I try to form this as clear as I can. I am dutch:-)

I have a dynamic site php where "memebrs"can be found.

on the resultpage it's possible to click on a certain member.(detailpage.php?id=...)

On that detailpage I also want member to have their own favorite background music, with a switch tot turn it on/off.

In the database(phpadmin) I type the pad top that musicfile on the server...

But...I don't know how to present te music on the detailed page...

Can you please help me with the code or the way I have to do this...???

If you need more information please contact me.

Maybe I think the wrong way.

Thanks very much in advance (by the way you make lovely websites).

e-mail: spderks@zonnet.nl

bye bye,

Pieter-Jan Derks

Link to comment
Share on other sites

Seems like you'll need to use an audio player of some sort to play the file:

 

http://www.labnol.org/internet/design/html-embed-mp3-songs-podcasts-music-in-blogs-websites/2232/

http://www.longtailvideo.com/players/jw-flv-player/

http://flowplayer.org/

 

You'll just need to use PHP/MySQL to query the database and select the right file to play in the audio player.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...