RSS

zend framework tips

02 Oct

(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);

Advertisements
 
1 Comment

Posted by on October 2, 2009 in LAMP, php, Tricks

 

Tags: , , ,

One response to “zend framework tips

  1. Pharmf750

    November 17, 2009 at 1:07 am

    Very nice site!

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: