P>     
P> everything works fine  , but now I want select few articles within these
P> selected using this:
P> 
P> <table width="70%" border="0" cellspacing="5" cellpading="5">    
P>   <?  
P>  for($i=0; $i<count($article_list);$i++) {  
P>    $article = mgd_list_topic_articles($article_list[$i]); {?>  
P>   <?   
P>    while ($article->fetch()) 
P>   if ($article->title) { ?>   
P>     <tr><td bgcolor="#e5e4b7"><p>&nbsp;&(article.title);</p></td>   
P>    <td width="20%" bgcolor="#e5e4b7"
P> align="right"><p><b>&nbsp;&(article.abstract);&nbsp;</b></p>   
P>   </td> <td><INPUT TYPE="CHECKBOX">  
P>     <?   } ?>   
P>     <?   } ?>   
P>   <?   } ?>   
P>   </td></tr></table><br>    

Well, I hope that it isn't an error in php4-module... Of course, it's very stupid 
question but...  Are there _really_ articles under $article_list[$i] topic?

P> 
P> and get error:
P>  
P> Warning: $article is not an object in content on line 6
P> 
P> Fatal error: Member function used on a non-object in content on line 6
P> 
P> 
P> code-init is of-course mostly standard for articles.
P> Maybe I make a stupid mistake but these scripts seem to mostly work.
P> 
P> 
P> Piotras

--
Best regards,
Sergei Dolmatov.

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

Reply via email to