Re: PEAR's Error Handling and PHP5

From: Date: Fri, 09 Jun 2006 11:05:13 +0000
Subject: Re: PEAR's Error Handling and PHP5
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42882@lists.php.net to get a copy of this message
Hans Lellelid wrote:
Aside from that none of the comments about how to deal with my Exception issue example are feasible imho.
As Justin pointed out, your example actually doesn't hold up to closer scrutiny. I assume you'd be using the results of MDB2 to build your graphs. And I assume your graphs are actually built using a resultset from your database .... $res =& $mdb2->query('SELECT m1.a,m1.b,m2.c FROM my_table1 m1, my_table2 m2 ... ');
your assumptin is wrong .. i use queryAll(), so all that will happen is a notice in the template engine from trying to iterate via a foreach on an object. regards, Lukas

« previous php.pear.dev (#42882) next »