I have a database that currently contains different albums. The way I had the database was that there is a "descriptio n" field in which I placed all the songs. When I access my site I see in information of a CD and a paragraph that contains all the data I put in the "descriptio n" field. I am thinking of adding an "advanced search" feature to the site where the user can select Artist or Song Title. However, how can I ensure that it looks into each song individually?
My first instinct was to have each song be a record in the database that is tied to an album (maybe by that album's ID) I have about 5k albums in my database so I have my work cut our for me if I do that.
Any ideas/suggestions so that the user may search for songs?
Here's an example of an insert statement with data of a particular album that is currently in my database so you can get an idea of what I currently have:
My first instinct was to have each song be a record in the database that is tied to an album (maybe by that album's ID) I have about 5k albums in my database so I have my work cut our for me if I do that.
Any ideas/suggestions so that the user may search for songs?
Here's an example of an insert statement with data of a particular album that is currently in my database so you can get an idea of what I currently have:
Code:
INSERT INTO `products_description` (`products_id`, `language_id`, `products_name`, `products_description`, `products_url`, `products_viewed`) VALUES (1, 1, 'BOBBY VALENTIN - THE BEST - CD', '1- HURACAN \r\n2- VETE PA LLA \r\n3- PIRATA DE LA MAR \r\n4- BESO BORRACHO \r\n5- GUARAMBEMBERE \r\n6- POBRE SOY \r\n7-SOY BORICUA \r\n8- SON SON CHARARI \r\n9- PIENSALO BIEN \r\n10- PAPEL DE PAYASO \r\n11- TOTAL PARA NADA', '', 21);
Comment