Posts by Daravahn • 40 points
3 posts
-
-1
votes2
answers80
viewsA: return the query as the zend string
I believe you can use: $query->getSqlString($this->dbAdapter->getPlatform()); assuming you’re inside a Zenddbsql Reference…
-
2
votes1
answer66
viewsA: email sending error with phpmailer
you are overwriting the variable $email within the loop foreach just change the name of one of them that should work. Function envia_email($addressee,$title,$text) { // Inclui o arquivo…
-
-1
votes3
answers3191
viewsA: Should I use the «or die»?
If you believe that your application will not work without something you should play an exception, but the die works also. When you play an exception you can give more information about the error…