Top "Zend-db-table" questions

Object-oriented interface to database tables

How to make PDO run SET NAMES utf8 each time I connect, In ZendFramework

How to make PDO adapter run SET NAMES utf8 each time I connect, In ZendFramework. I am using an INI …

php zend-framework pdo zend-db-table
Zend Framework: How to delete a table row where multiple things are true?

Normally, this would work for me: $db = Zend_Db_Table::getDefaultAdapter(); $where = $db->quoteInto('id = ?', $id); $db->…

zend-framework zend-db zend-db-table
How do I add more than one row with Zend_Db?

I have an array with information which looks more or less like this: $data[] = array('content'=>'asd'); $data[] = array(…

php mysql zend-framework zend-db zend-db-table
Zend Framework: How to retrieve the id of the last inserted row?

I'm inserting a new row into my database with this code: $data = array( 'key' => 'value' ); $this->getDbTable()-&…

php zend-framework zend-db zend-db-table
Zend_Db: How to get the number of rows from a table?

I want to find out how many rows are in a table. The database that I am using is a …

mysql zend-framework zend-db-table
Zend Framework: How to find a table row by the value of a specified column?

I am implementing my model exactly like the quickstart guide. In my model I am trying to implement a findByToken() …

zend-framework zend-db zend-db-table
How can I Select the MAX of a Column using Zend_Db_Table?

What is the easiest, simplest way to select the max of a column from a table using Zend_Db_Table? …

php mysql zend-framework zend-db-table
How can I escape complex sql in Zend Framework?

I have the following sql (a simplification of the real problem): SELECT * FROM t WHERE myname LIKE '%{$input}%'; …

php zend-framework zend-db-table
zf2 form: populate select field with data coming from database

I'm learning zf2 and I'm facing a problem involving 2 (eventually more) modules working together. Note, I've carefully read this post (…

php zend-framework2 zend-form zend-db-table
"IS NULL" in Zend_Db_Table select not working

I'm trying to do a join on 2 tables in Zend, using the DbTable / model / mapper structure. If, in my mapper, …

mysql zend-framework null zend-db-table