Re: unable to use vars in foreach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> On Sunday, November 14, 2004, at 08:24PM, Jonathan Villa <jvilla@xxxxxxx>
> wrote:
>>
>>$modules = simplexml_load_file(MODULES);
>>
>
> Are you certain that MODULES has been defined()? And what do you get when
> you print_r($modules)?
>
> -ryan
>

Yes MODULES is defined.  It's defined in an include file.  In my loop,
when I echo the $mod->postName the values print just fine.  My issue is in
the conditional.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux