Query strings in php (plz help)

Hi, i’m new with php and recently i have been a course work, to design a dynamic music website like hmv.
Ok the problem is that i have all the contents i need such as the pictures and album information. But how do i link a query string to an album and how does the .php program recognise the ID and dynamically processes the pictures and texts to the relevent tables on a dynamic page.
I may not have explained properly but hopefully you should understand what i’m trying to say.

Thanks

Make a template page that you will display details about the albums(pictures,artist,any other info related to a album)
Enter these datas in to a database with a uniqe id for each album

Then you should write a small program with php that gets the id you send to teh page, connects to the database and gets the information realted to that id.Finally the data is displayed at the template you had prepared.

Did i get close to what you are trying to do?

thanks for that. I understood what you wrote. So i need a template!!. But what code do i need to tell what picture/text, should go into which table in the template. does the tables in the template need an id.

I Really appreciate your replies.

Thanks

http://www.macromedia.com/support/dreamweaver/building_apps.html