Grouping where clauses with zend_db_table_abstract ?
Answer / Ankush Panwar
To group WHERE clauses with Zend_Db_Table_Abstract, you can use the Zend_Db_Expr class. Here's an example:n```phpn$where = new Zend_Db_Expr('(field1=value1 OR field2=value2) AND (field3=value3 OR field4=value4)');n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Do you know what is the function lucene?
What is the function of action helper in zend?
Explain the working with form elements in array notation?
How do I implement direct identity based openid authentication with zend openid?
What is zend framework?
What is service manager in zend framework?
What is zend_registry?
Writing a subquery using zend db?
Do you know what is the way in which the html can be used to form elements?
How to use a sql function or perform calculations in a statement generating with zend_db_select?
Explain the difference between zend_registry and zend_session in zend?
Write a program that performs the calculations using the sql function?