Answer the question
In order to leave comments, you need to log in
Why is the request not working in RedBean?
There is a questionnaire
table
On the page I derive data from it using RedBean.
$answers = R::find('questionnaire', 'date = ?', array($date));
foreach ($answers as $answer) {
$l_name = $answer->person['last_name'];
$f_name = $answer->person['first_name'];
......
}
$themes = $answer->themes['name'];
Answer the question
In order to leave comments, you need to log in
It's all about the name. The themes table, so the link should be named themes_id, this is stated in the documentation. Be careful and check all connections.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question