Hello once again!!
I changed a code:
<Form action="script1" method="get">
<? if (!$action && ($t = mgd_list_topics(67))) { ?>
<p><? if ($t) while ($t->fetch())
printf('<li>
<input
type="checkbox"
name="topic_list[]"
value="'.$t->id.'">
<a href="%d.html">%s</a><br>%s', $t->id,
$t->name ? htmlentities($t->name) : ('topic #' .
$t->id), "\n");
?>
</p>
<? } ?>
<input type="submit">
</form>
Script1:
<Form action="script2" method="get">
<p>
<? for($i=0; $i<count($topic_list);$i++) {
$a = mgd_list_topic_articles($topic_list[$i]); {?>
<? while ($a->fetch())
printf('<li>
<input
type="checkbox"
name="article_list[]"
value="'.$a->id.'">
<input type="hidden" name="topic_list[]" value="'.$topic_list[$i].'">
//this is optional but doesn't seem to work
<a href="%d.html">%s</a><br> &(article.title); %s', $a->id,
$a->name ? htmlentities($a->name) : ('article #' .
$a->id), "\n");
?>
</p>
<? } ?>
<? } ?>
<input type="submit">
</form>
Script2
<?
for($k=0; $k<count($article_list);$k++) {
$article = mgd_list_topic_articles($topic_list[$i]); {?>
<?
if ($article) while ($article->fetch())
if ($article->id) { ?>
<tr><td bgcolor="#e5e4b7"><p> &(article.title);</p></td>
<td width="20%" bgcolor="#e5e4b7"
align="right"><p><b> &(article.abstract); </b></p>
</td>
<? } ?>
<? } ?>
<? } ?>
No error and nothing diplayed...
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]