[PHP] Foreach loop with empty values

2003-06-13 Thread CDitty
I have a foreach loop in a while loop that retrieves information from my database. The foreach loop works fine if there is data in the database for that loop. But if nothing is found in the database, I get a Invalid argument supplied error. Can anyone suggest a fix for this? The foreach

Re: [PHP] Foreach loop with empty values

2003-06-13 Thread CDitty
Got it fixed. Never mind. Thanks At 10:49 PM 6/13/2003, CDitty wrote: I have a foreach loop in a while loop that retrieves information from my database. The foreach loop works fine if there is data in the database for that loop. But if nothing is found in the database, I get a Invalid