Hello --

I have a really weird issue...

I have the following code...

$sql = "some update query...";

$result = $this->_db->query($sql,array($field1,$field2));


For some reason it stalls.  However, if I remove "$result = " -- it works
just fine.

For example... 


$sql = "some update query...";

$this->_db->query($sql,array($field1,$field2));


I don't actually need to see the result and I'm happy removing it; however,
I do have other areas in my code that do have this (and appear to be working
fine).  Is there any weird behavior that I should be aware of or concerned
of.  I've never seen an issue in PHP where assigning a return value from a
function/method would cause this behavior...

I've checked the result by putting die() statements directly after the line
of code in question (and I've checked for exceptions).

Any help would be much appreciated.
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Db-Table-Abstract-Issue-tp3238986p3238986.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to