HTML extension help

They have: 2 posts

Joined: Mar 2006

Hey everyone,

I'm know the basics to HTML, but not that advanced. I'm working on a songlist in html (see this example: here [Note: I had to get the cached version, because the site is currently down]).

I was wondering how can you make a html extension such as this "song.html?song_type=-1&song_display=" ?

Do you need a database to accomplish this? Thanks in advance.

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

Everything after the ? is a variable. It works like this variablename=value.

It looks like that HTML file actually has PHP code that reads in the variable values, and knows to pull that song from somewhere. It is probably using a database.

What is the goal of your songlist? Are you trying to link to actual mp3 files on someone else's site, or what?

They have: 2 posts

Joined: Mar 2006

oh, I'm trying to link to a song page with the song's info

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.