How to Handle a Many-to-Many Relationship with PHP and MySQL
By Tony Marston2005-04-06
Intended Audience
This tutorial is intended for those developers who come across the situation where they need to cater for what is known as a 'many-to-many' relationship. It will explain how to generate the database tables to deal with such a relationship, and how to design HTML forms to display and update the contents of these tables.
This situation can often catch the inexperienced designer/developer unawares, often leading to clumsy or unworkable solutions. This tutorial will show a technique that has been successful for me for many years.
Tutorial Pages:
» Intended Audience
» Introduction
» Database schema
» Form design
» Summary
