I have recently started learning php and know basics like insert, update, delete etc from a database.
I am trying to design a database as an exercise to try and learn/understand how it is done but I'm not sure if I'm doing it right.
I have attached an image of what I have done so far and would apprieate any pointers on what is wrong/right or should be changed.
I am trying to achieve the following rules for my database design.
(The design is for a website building company)
1. Each customer can place many orders
2. If the product is a website package it can come with 1 or more domains.
3. Each product from that order is then linked into a project.
An example would be customer name = Joe Bloggs
Joe places an order for 1 website and 2 domains (joebloggs.co.uk and joebloggs.com) in the same order he also buys a Logo Design for his website (this is a product with no domain name).
I have slightly confused myself again by typing all this but hopefully someone can understand what I am trying to achieve and can point me in the right direction.
Thanks