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 <[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: [EMAIL PROTECTED]
> 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 : [EMAIL PROTECTED]
Phone Number : +62 815 8000385
Hail The Revolution...!!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]