[ciapug] Iterating an empty result set

Tony Bibbs tony at tonybibbs.com
Thu Feb 2 10:50:46 CST 2006


LOL, been there.

Chris Van Cleve wrote:
> I knew the answer was simple. I just couldn't get my head around it 
> today. Migraines ftw.
> 
> On Feb 2, 2006, at 9:40 AM, Tony Bibbs wrote:
> 
>> for ($i=0; $i < 5; $i++) {
>>     if ($events->EOF) {
>>         // print blank boxes
>>     } else {
>>         // print data in boxes
>>     }
>> }
> 
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug


More information about the ciapug mailing list