1

I want to retrieve rows from a dependent table that follows a given criteria in the dependent table.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Bryan
  • 645
  • 1
  • 6
  • 18
  • I wanted to help so i would give you this http://www.zendcasts.com/category/screencasts/databases/zend-db/ , but you didn't provide any helpful info .... – tawfekov Dec 08 '10 at 14:46

2 Answers2

3

If you're using table relationships, you can provide a Zend_Db_Table_Select object as an argument to findDependentRowset

$row->findDependentRowset($table, $rule, $select);

See more info at http://framework.zend.com/manual/en/zend.db.table.relationships.html#zend.db.table.relationships.fetching.dependent

Vika
  • 3,275
  • 18
  • 16
-1

You need to use a join http://framework.zend.com/manual/en/zend.db.select.html#zend.db.select.building.join

But with no more info that's all I can give

Ashley
  • 5,939
  • 9
  • 39
  • 82