I would like to let you know that there are some mistakes in the screen shots you gave us, if we compare them with the results we have after running the code.
The results I get from the database differ from the screen shots you provided even though I followed correctly the structure of the database and the different tables.
Please double check the screen shots 2 and 5 and compare the results and the content of the tables.
Admin
Registered: 18 years ago
Posts: 10,001
Rating: 353
No, you need to change the database information accordingly. That is part of the question. " Now adapt the code (and the associations in your database) in such a way that the following
information is printed when you select each user"
jdfkat
I think the screen shop for oop4 is an example only, try to much you data in the table with the screen shots for oop5,
Basically oop4 does the some thing like oop5 except oop4 returns the user ids and oop5 returns names.