> > <Form action="script2" method="get">
> >
> > <p>
> > <? for($i=0; $i<count($topic_list);$i++) {
>
> Could you insert a echo $topic_list[$i] here, so we can see what
> happens?
correct values!
> > <a href="%d.html">%s</a><br> &(article.title); %s', $a->id,
> > $a->name ? htmlentities($a->name) : ('article #' .
>
> The &(...); syntax does not work inside PHP scripts.
Yo! I know, but I didn't deleted it because It is not so important to
correct scripts work ( I guess )
> > <? } ?>
> > <input type="submit">
> > </form>
> >
> > Script2
>
> Is this script displaying what you expect?
The first script - yes.
>
> > <?
> > for($k=0; $k<count($article_list);$k++) {
> > $article = mgd_list_topic_articles($topic_list[$i]); {?>
> > <?
>
> where is $i being set? Outer loop?
I lost with this code..... I'm not PHP Einstein ;))))
But this cript looks like this below, and works when page is static.
Just displays how many items I selected but doesn't display title or
abstract.
Wow! one step forward :))
<?
for($k=0; $k<count($article_list);$k++) {
$article = mgd_list_topic_articles($topic_list[$k]); {?>
<?
if ($article) while ($article->fetch())
if ($article->$article_list[$k]) ; { ?>
<tr><td bgcolor="#e5e4b7"><p> &(article.title);</p></td>
<td width="20%" bgcolor="#e5e4b7"
align="right"><p><b> &(article.abstract); </b></p>
</td>
<? } ?>
<? } ?>
<? } ?>
Best REgards!!!
Piotras
--
http://www.studzinski.igk.pl
http://www.infoglob.com
http://agaipiotras.igk.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]