DataObjects
| From: | Maurice Mengel | Date: | Thu, 07 Aug 2003 20:52:04 +0000 |
| Subject: | DataObjects | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7092@lists.php.net to get a copy of this message | ||
Hi!
Think this is strange! The first time of the while-loop everything works
perfect, the second doesn't return anything from the 2nd table (but from the
first - lik it should be). Do I have to destroy sub-object _sendungID or
perform any other action? In the examples it doesn't look like this, but
only a few examples with getLinks... if only DataObjects had a bit more
documentation...
thx a lot
Malzkorn
while ($programm->fetch()) {
$programm->getLinks();
/* from table one*/
$res[$i]['datum']=$programm->datum;
/* from another table*/
$res[$i]['s_name']=$programm->_sendungID->s_name;
$i++;
}