$select-where('field2 = ?', 'foo', Zend_Db::PARAM_STR);
This is not the type of values you are expected to provide here. $type,
in this case, is expected to be one of these:
Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, and Zend_Db::FLOAT_TYPE
As mentioned here in the quote() documentation:
Hi,
Ralph Schindler wrote:
$select-where('field2 = ?', 'foo', Zend_Db::PARAM_STR);
This is not the type of values you are expected to provide here.
$type, in this case, is expected to be one of these:
Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, and Zend_Db::FLOAT_TYPE
As mentioned here
Hi,
I experienced a quoting issue within Zend_Db_Table when specifying the given
value type:
// Code:
$db = Zend_Db::factory('Pdo_Mysql', array(
'host' = '...',
'username' = '...',
'password' = '...',
'dbname' = '...'
));
Zend_Db_Table::setDefaultAdapter($db);
unset($db);
$table =