FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » invalid argument
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: invalid argument [message #31410 is a reply to message #21864] Fri, 21 April 2006 09:19 Go to previous message
richardlynch is currently offline  richardlynch   United States
Messages: 8
Registered: April 2006
Karma:
Junior Member
The "invalid argument" to a foreach can pretty much only mean one thing:

The variable you are thinking is an array isn't an array.

Use print_r on it and see what it is.

You'll also probably need to print_r all the things in front of -> before you are done, in order to figure out where in that rather long chain of -> you went wrong.
[Message index]
 
Read Message
Read Message
Previous Topic: Undefined Index Troubles... [Help Please]
Next Topic: running both versions - php 4.3.0 and php 5 on one Apache-Server on Windows
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 21:56:05 GMT 2024

Total time taken to generate the page: 0.04916 seconds