Just read some pages on relationships and going to give this a good go now.
So when creating the product_images table, what does the last line of code mean the
CONSTRAINT FOREIGN KEY productID REFERENCES products(productID) part and how do I implement that? Do I need to type that in somewhere? (Baring in mind I am using phpmyadmin, I cannot write actual sql).