If you read my first post you can see that I used al type of Zend_Db methods,
first of all the Zend_Db_Statement
Thank you
Kamil N wrote:
Hi
You can use Zend_Db_Statement
http://framework.zend.com/manual/en/zend.db.statement.html
Example
$stmt = $db-query('SELECT * FROM
Thanks for answer,
what i wrote is only an example, no parse error on the code i'm testing or
query error ;)
I tried all, many times, many days ago (and now to be sure..) all without
success.
$db-query
$db-update
or table model, neither works, the loop exit after first cycle with no
errors,
Yes, all tested. no way.
to reproduce it:
database:
DROP TABLE IF EXISTS `bugs`;
CREATE TABLE IF NOT EXISTS `bugs` (
`bugid` int(11) NOT NULL auto_increment,
`desc` varchar(255) NOT NULL,
`solved` tinyint(4) NOT NULL,
PRIMARY KEY (`bugid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
Hi all,
i'm having some trouble fetching and making query trough a loop. (sorry for
my bad english)
to explain , please read the example :
suppose to have 100 bugs unsolved.
$stmt = $db-query('SELECT * FROM bugs');
while ($row = $stmt-fetch()) {
echo $row['bug_description'].'br/';
}
we
Hi all,
i'm having a problem while fetching a result set on a nested routine.
I think it's more simple to read the example:
$myFirstTable = new myFirstTable();// extetend Zend_Db_Table_Abstract
$mySecondTable = new mySecondTable();// extetend Zend_Db_Table_Abstract
the i call a function that