print zend db select query to string code example Example: print zend db select query to string echo $select->__toString();