Jump to content

online application


wutang

Recommended Posts

You need at least 2 db tables, member and track

When they upload a track, store the path/filename in the track table with their member_id and other details

Tables
[code]member              track
---------           ----------
member_id <---+     track_id
username      |     title
password      |     filepath
etc           +---- member_id[/code]

Sample data
[code]track
-------
id |  title               |  path           |  member_id
1 | Moon River            | xxx/000001.mp3  |     1
2 | Nessun Dorma          | xxx/000002.mp3  |     1
3 | Birdie Song           | yyy/000003.mp3  |     2
4 | My Old Mans a Dustman | yyy/000004.mp3  |     3[/code]

Select tracks with their id from track table when the go to their library page.
Link to comment
https://forums.phpfreaks.com/topic/10651-online-application/#findComment-39782
Share on other sites

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.