I am trying to get an article to execute PHP in it's contents with no luck.
I have the following page defined:
**info
<?php
if ($argc == 1 && ($article = mgd_get_article($argv[0])))
{
?>
&(article.content:h);
<?php
}
else
{
$info = mgd_list_topic_articles_all(16, "alpha");
while ($info->fetch()) { ?>
<DT><strong><a href="&(info.id);.html">&(info.title);</a></strong></DT>
<DD>&(info.abstract);</DD>
<? }} ?>
** article.content(18.html)
<IMG SRC="/images/cityhall.gif" HEIGHT=293 WIDTH=445 ALIGN=RIGHT>
<H2>City Government Info</H2>Long Beach City government can be found in the
center of town at city hall. The City Hall is home to:<br>
<?php
$info = mgd_list_topic_articles_all(18, "alpha");
while ($info->fetch()) { ?>
<strong><a href="&(info.id);.html">&(info.title);</a></strong><BR>
<? } ?>
If I change &(article.content:h); to &(article.content:p); I get nothing.
Any ideas?
Paul
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]