Im fairly new to php so please don't shoot me if i get anything wrong. Im Working with Dreamweaver,PHP and MySQL database. I have some pages on my website:
catalogue_main.php
alpha_artist.php
lyrics_artists.php
This is to lead up to a lyrics page. So on the catalogue_main.php page theres a alphabet and whatever you click on it takes you to the artists whose name begins with that letter, which is displayed on the alpha_artist page. This works successfully. I know want when you click on that artist, it shows you their specific albums which would be displayed in the lyrics_artists.php page. Here are the tables i have:
albums
-album_id
-artist
-album_name
-tracklisting
-genre
-release_date
-price
-album_image
-album_description
artists
-artist_ID
-artist
-artist_letter
-artist_info
-image
media
-media_id
-song_url
-video_url
-artist
-album
-song_title
-lyrics
The ones in bold are the field names id like to be included in the php script,but if you recommend any others thats fine . The edition of mhpmyadmin i have doesnt enable linked tables. Here is the code i have for both of the pages...i just cant seem to get it to work. It just displays one album for all the records.