Vidar Berg wrote:

> > > I wonder whats the easiest way to get a page/xx.html to refer to the
> > article xx.html.
> > 
> > What are you trying to accomplish - is xx.html on the server's hard drive
> > stored as a
> > regular file, or in the database?
>
> xx.html is in topic yy in the database.

In an active page, do:

<? $article=mgd_get_article($argv[0]);
   if (! $article) { echo "no such article " . $argv[0]; } else { ?>
   &(article.title);<BR>&(article.content);
   <? }
?>


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

Reply via email to