Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

PHP.....
#2

There are two foreach loops in that snippet. Which one is on line 742? And what are the variables used in the foreach (e.g. what exactly is $CATS and $name if that's the bad foreach)?

Normally you get the invalid argument error when you're passing a non-array variable to foreach
Reply


Messages In This Thread
PHP..... - by leeman_vbulletin4_import1 - 04-21-2004, 12:02 AM
PHP..... - by leucetios - 05-04-2004, 11:56 PM
PHP..... - by skulbite - 08-03-2004, 04:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)