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
invalid argument [message #21864] Tue, 21 December 2004 16:37 Go to previous message
curtbuchanan is currently offline  curtbuchanan   United States
Messages: 1
Registered: December 2004
Karma:
Junior Member
hi...im a nebie at this forum.

i came across an invalid argument warning pointing to a foreach loop. it seems that when i was working with this file last week everything went good, but now its giving me this error.

$this->nameSearch->restore();
foreach($this->nameSearch->results[$lastName][$firstName]['hits'] as $row)
{
if($row['instNum']==$instNum && $row['year']==$year)
{
$path=$row['imgPath'];
}


im running php version 4.2.3 on win xp. What am i missing/going wrong?

[Updated on: Tue, 21 December 2004 16:37]

Report message to a moderator

[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 16:49:03 GMT 2024

Total time taken to generate the page: 0.04252 seconds