Hey All,
I'm not a regular MySQL user - I do a lot more Flash work, and recently I have started a small business which needs a reasonably complex (for me at least
) database structure.
The site is a CD mail-order operation, and requires a certain level of functionality (explained below):
The ability for all the Artists to be displayed alphabetically, and found through a search box.
The Artists displayed have to be links which link to pages written on the fly (using PHP) to display the albums we have available, with Album Cover Images, Track Listing, Review and Link to MP3 sample or myspace and price.
Below is an Image of what I mean:
Artist View (taken from MySQL database):
User Clicks on Artist (album image, main body of text/review, track listing, and album name, and price(not shown) all taken from mysql database, page is written by a universal php script):
I am using a paid host, which offers CPanel, MySQL version 4.1.* and PhpMyAdmin 2.9.0.2. I use Macromedia Studio 8 Pro.
I am mainly looking for help and advice on how to structure the database. Currently, I am thinking that it will need two tables (?) one for artist names, and another for the artist name (relating tables, is that what they call it?), albums, images, review text, and links, and of course Price.
Also, and Order button will be placed somewhere within the album selection frame-like div and somehow I was hoping it would be passed the variables from the page - such as $Artist and $Album_name and $price, put those variables pre-completed into a form, and let the user do the rest, like enter address details etc.
Sorry about the crappy explanation, I'm trying to wrap my head around what I have to do. Help and advice would be much appreciated.
Thanks in advance,
Nick Chhabra
Insipid Records
I'm not a regular MySQL user - I do a lot more Flash work, and recently I have started a small business which needs a reasonably complex (for me at least
The site is a CD mail-order operation, and requires a certain level of functionality (explained below):
The ability for all the Artists to be displayed alphabetically, and found through a search box.
The Artists displayed have to be links which link to pages written on the fly (using PHP) to display the albums we have available, with Album Cover Images, Track Listing, Review and Link to MP3 sample or myspace and price.
Below is an Image of what I mean:
Artist View (taken from MySQL database):
User Clicks on Artist (album image, main body of text/review, track listing, and album name, and price(not shown) all taken from mysql database, page is written by a universal php script):
I am using a paid host, which offers CPanel, MySQL version 4.1.* and PhpMyAdmin 2.9.0.2. I use Macromedia Studio 8 Pro.
I am mainly looking for help and advice on how to structure the database. Currently, I am thinking that it will need two tables (?) one for artist names, and another for the artist name (relating tables, is that what they call it?), albums, images, review text, and links, and of course Price.
Also, and Order button will be placed somewhere within the album selection frame-like div and somehow I was hoping it would be passed the variables from the page - such as $Artist and $Album_name and $price, put those variables pre-completed into a form, and let the user do the rest, like enter address details etc.
Sorry about the crappy explanation, I'm trying to wrap my head around what I have to do. Help and advice would be much appreciated.
Thanks in advance,
Nick Chhabra
Insipid Records
