John P . Looney wrote:

>  So, to do some new cool stuff, I've done;
> 
>    $topic = mgd_list_topics(0);
>    if(!$topic) {
>       echo "mgd_list_topics(0) failed.<br>";
>       echo "reason: " . mgd_errstr();
>    }else{
>       while($topic->fetch()){
>         if($topic->sitegroup == $midgard->sitegroup) {

$topic->sitegroup is allways going to be either 0 or
$midgard->sitegroup.

>  For some reason now, it's saying that $topic->sitegroup is *always* 0. Again
> you can see what I mean at: http://midgard.linux.ie/

The menu looks OK to me. I'm not seeing the above messages.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to