Hi,
I am fairly new to php and mysql and I need to set up a lyrics database and it is pretty huge, I had a few tables to work with.,
Problem is I don't how recursion works in php and mysql.
Example
TABLES lyrics_catgeory
id album name song titles song_lyrics
1 lost in love all out of love --- I'm lying along with my head on the ...
lost in love --- I realize the best part of love....
chances ---- There's a chance you will be <br>
2 the one that you love sweet dreams --- This is the time ..
here I am --- here I am playing with those...
the
The main category which is album name
http://yoursite.com/album_name
List of Air Supply albums
Lost in Love
The One That You love
Clicking on Lost in Love album would get you to
http://yoursite.com/album_name/Lost_In_Love
Lost in Love Songs
Lost In Love
All Out Of Love
Chances
If I click on "chances" song would display the lyrics
http://yoursite.com/album_name/Lost_In_Love/Chances
Chances
Theres a chance you will be there
I'd like to know the truth..
I'll find it all somehow
Lost In Love
|
Chances
|
Song Lyrics
This is done only in one file.. I don't know how to do it. I really have trouble with coding. Need help on this
thanks a lot!