# Query strings in php (plz help)

**URL:** <https://forum.kirupa.com/t/query-strings-in-php-plz-help/101760>\
**Category:** Uncategorized\
**Created:** [February 13, 2004, 3:02pm UTC](https://forum.kirupa.com/t/query-strings-in-php-plz-help/101760 "2004-02-13T15:02:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali\_seelector](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@ali\_seelector](https://forum.kirupa.com/u/ali_seelector)\
**Post date:** [February 13, 2004, 3:02pm UTC](https://forum.kirupa.com/t/query-strings-in-php-plz-help/101760/1 "2004-02-13T15:02:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2004, 2:29am UTC](https://forum.kirupa.com/t/query-strings-in-php-plz-help/101760/2 "2004-02-19T02:29:02Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 20, 2004, 1:48pm UTC](https://forum.kirupa.com/t/query-strings-in-php-plz-help/101760/3 "2004-02-20T13:48:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 20, 2004, 2:04pm UTC](https://forum.kirupa.com/t/query-strings-in-php-plz-help/101760/4 "2004-02-20T14:04:05Z")

</div>

[http://www.macromedia.com/support/dreamweaver/building\_apps.html](http://www.macromedia.com/support/dreamweaver/building_apps.html)
