SLBaronsFan
Starting Member
4 Posts |
Posted - 28 October 2004 : 15:29:36
|
I need help on some mods. From different code I swiped here and there, I cobbled together a featured song and featured video link on my forum. Basically all they do is pop up the link and play it in the browser. You can see them at the bottom of the page of my forum: http://forum.decapitatedhead.com.
Basically the info you see listed (the clickable link) is hard coded in the inc_song.asp and inc_video.asp files. The location of the file it plays is hard coded in the pop_song.asp and pop_video.asp files. What I want to do is get that info into my database and have a link on my admin page so I can bring it up and enter the info and it will automatically change it on the front page. IE Have 2 fields on an admin_song.asp page, Title and Path... I can then enter in the song title and where it's located and that will put it in my database. Once I do that and go back to the main page, that info will be updated. I'll just have to edit the info in the include and pop files to use the database field name or whatever rather than the hard coded info I have now.
Secondly, I want to create another page that has like a drop down box with a bunch of selections, say radio stations. I would pull down the list, pick a station, click a button and then it would pop up and play the stream, much like the featured song thing does. I would want these stations and the addresses to their streams in my database and I would prefer to have just one pop_radio.asp file that would play all the stations (rather than having to create an asp for each station). Does that make sense?
Any help you can provide would be appreciated. I've messed with alot of MODS and edited alot of ASP pages, but I'm not a DBA and don't know anything about databases. Let me know if you want to see any code. Thanks. |
|