well been, I would rather not need to include more variables all over my classes, rather do it like anode and HarryF are suggesting...
About that method, I don't fully understand, I read the phrasebook and some pages of your link Harry but could you guys help me with it. I thought that was bit limiting as it is so hard to make complicated querys with joins etc, could you give me example of classes and usage when doing the following:
on the following tables
$db->query('SELECT User.id, User.name, Post.title, Post.content FROM User, Post WHERE User.id = Post.User_id AND Post.id = 1');
Could you show me how to do this query with your methods ?
User_id (references User.id)
I would appreciate it extreamly much !