Hi, this is my first post. I'm new here and also just start playing with CakePHP. And sorry for my English since its not my native language.
I had problem to call data from two tables since I dont know how to do it in CakePHP.
So basically I doing a simple dictionary that had two tables named users (User) and words (Word).
id
username
password
role
created
modified
nickname
id
word
description
created
modified
user_id
What I want to do now is to display all the contents in Word table. But instead of display user_id I want to display nickname column which is in User table. So now I used find('all') to get all the data in Word table. But I dont know how to used user_id which referring to id in User table to display nickname. That's all.
Hope I explain clear enough. Hope got someone can help me with this. Thank you.