zend framework tips

On October 2, 2009, in PHP, Tricks, by phpsolutions

(Join 2 or more tables)
$select = $RelatedTable->select(true)->setIntegrityCheck(false);

(Union tables)
$adapter = $dbTable->getAdapter();

$sqlsvn=’sql goes here’

$dbRow = $adapter->fetchAll($sqlsvn, Zend_Db::FETCH_ASSOC);

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.