ok, i asked this a couple days ago, but i think i asked it in a much harder way than need be. I see how some people just use one page like "index.php" and then just pass variables along to get different information to display. well, i tried that and its not working nearly the way I want.
Maybe someone can help. Here is what i'm trying to do.
I have a query on a page that finds all the songs i have in a table and lists them. I can then click on the song name and the page is refreshed with the $id value, so a new set of information appears, such as lyrics and a picture etc. That all works fine. But when I dynamically change to "include" that file in my index.php file, the variables don't work right.
I have a navigation file that has a list of links, and when you click a link, the link value is created. i.e. you click on song list, and the value $id=songlist.php is passed into the url, and the index page see's that and changes the main "included" file to the query file I was talking about (with the songs and such) but when I click on a song title, and its supposed to change to the other information, it goes back to my main page. Can anyone help me how to keep the one variable (the page name) and get the other section to work properly with its variables as well?