Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Database (http://www.go4expert.com/forums/database-forum/)
-   -   PHPmyadmin to create a many-to-many Mysql database (http://www.go4expert.com/forums/phpmyadmin-create-mysql-database-t29069/)

harshamutu 11Sep2012 14:28

PHPmyadmin to create a many-to-many Mysql database
 
Hi! Everyone, I am quite new to PHP and Mysql, but capable of creating a simple database, upload it and make a PHP query to get a result displayed on a webpage using Phpmyadmin. Because of the challenge that I am going to detail below I read a lot on M-to-M databases and creating mapping tables etc. But I am still not sure where to start my assignment yet. My problem is:

How to create a MySQL database using Phpmyadmin, for a Many-to-Many relationship. There are many suppliers and a limited number of products. One supplier may have more than one product to offer and one product can be available with several suppliers? (I guess Supplier, Products and the Mapping should have different tables in this database.)

I shall appreciate very much if some one can advise me on these tasks and/or let me have URLs of tutorials that address these specific issues.

Thanking you in advance Harsha Mutucumarana


All times are GMT +5.5. The time now is 18:52.