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 bugs LIMIT 100');
> |
> while ($row = $stmt->fetch()) {
> |     $db->query('UPDATE  bugs SET solved = 1 WHERE bug_id
> ='.$row[bug_id']);
> |}|
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-fetch%28%29-in-a-loop%2C-internal-query-doesn%27t-work-tp23656095p23682593.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to