No real reason that it's coded the way it is. I just went with the basic functions available for DBI in the PERL version and the various sql calls in PHP. It's pretty standard to do your fetch_array, or whatever, in a while. This shouldn't be causing problems. Basically it it doesn't find a row, then it returns a false value. If it's in a while loop then the false value breaks out of the loop. If it's in a for ($i=....) with a counter, then the counter value is retrieved from the number of rows returned by sql, so this shouldn't be a problem.
I'll work on getting the postgres support debugged once I finish getting the rest of the bugs fixed and the next release put out. That is, if I can get my postgres database running again.[]/w3timages/icons/frown.gif[/]
-------------------
Scream
WWWThreads Developer