Re: problem with mgd_list_topics

"Uung H.R Bhuwono" <[email protected]> 21 Sep 2005 09:10:15 -0000
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Thanks Piotras, that solve my problem. I forget to put condition to check if
the subtopic exist or not ;)


On Wed, 21 Sep 2005 10:50:48 +0200, Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> wrote :

> "Uung H.R Bhuwono" <[email protected]> wrote:
> 
> > Hi Piotras,
> > 
> > I don't know where the line 992 is because there is a lot of pageelement
> > included on the page.
> > the echo "$sahabat_topic"; give empty result and I'm hoping it will give me
> > Object output like what I do with echo "$ttgkami_topic";
> 
> So there are no subtopics yet.
> 
> > The fatal error thing happen on these following code :
> > 
> > <?
> > while ($sahabat_topic->fetch()) { 
> 
> Try "to control" it.
> 
> while ( $sahabat_topic && $sahabat_topic->fetch() {
> 	/* do more */
> }
> 
> or 
> 
> if($sahabat_topic = mgd_list_topics(160)) {
> 	
> 	while ($sahabat_topic->fetch()) { 
> 		/* do more */
> 	}
> }
> 
> 
> Piotras
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org
> For additional commands, e-mail: [email protected]
> 
> 
> 
> 


-- 
Uung H.R Bhuwono
Technical Officer
Visuacommunika Digital Media - PT Pangeran Jaya Putra 
http://www.vc-digital.com
[email protected]
Yahoo Messenger : bhuwono
MSN Messenger : [email protected]
Jabber Messenger : avenpace-/[email protected]
Phone Number : +62 815 8000385

Hail The Revolution...!!!!