Hello,
chapter 7 of Professional PHP6 show a solution for link php Object and DB table, that is ORM ( Object Relation Mapping ).
THe implementation of thi pattern is DataBoundObject class, very cool solution.
How can I handle relation many to many with this object.
If I have a situation like this:
Table Student:
ID
Name
Table Course
ID
Name
Table Student_has_Course
student_id
course_id
data
vote
How can I handle ( CRUD ) the table Student_has_Course in right OOP?
Thanks a lot
Chameleon