php - How to do this select join in Zend_Db_Select?
Get the solution ↓↓↓Solution:
$select->from(array('c' => 'cursos'), array('titulo', 'subTitulo'))
->join(array('cc'=> 'cursos_categorias'), 'c.categoriaId = cc.id', array('categoria' => 'cc.rotulo'))
->join(array('i' => 'imagens'), 'c.imagemId = i.id', array('imagem' => 'i.src'));
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: target class [commandmakecommand] does not exist.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.