DB_DataObject: Skipping a record
| From: | Warwick Bruce Chapman | Date: | Tue, 10 Jun 2003 11:07:47 +0000 |
| Subject: | DB_DataObject: Skipping a record | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5874@lists.php.net to get a copy of this message | ||
Howdy All
I have this little snippet below, which I think is the problem part of this
(http://www.pastebin.com/12174) code.
Basically there is always one record (I cannot see a pattern) which has a
status="P", but does not display...
Any ideas?
<SNIP>
$job = new DataObjects_Projects;
$job->get("status","P"); // Fetch all jobs which have status="P"
// Loop to display current jobs
while ($job->fetch()) {
</SNIP>
Warwick Chapman
Managing Member
Thusa Business Support cc
Cell: +27 83 7797094
Fax: +27 31 2055838
-- There are 10 types of people in this world. Those
who understand binary, and those who don't.
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/