Ok, I cannot figure why this won't go through.   I've tried with
both inherited and required authentication, and by stripping it down to as
much as the example in the documentation, but it still will not create a
new article with this.

<?
$up=123;
$topic=240;
$name="demo article";
$title = "someone";
$abstract="whatnot goes here";
$content="something";
$author=1;
$url="http://www.somewhereelsethanhere.com";
$calstart="0000-00-00";
$caldays=0;
$icon=0;
$view=0;
$print=0;
$extra1="";
$extra2="";
$extra3="";
$type=0;

$article = mgd_create_article( $up, $topic, $name, $title, $abstract, $content,
                                $author, $url, $calstart, $caldays, $icon,
                                $view, $print, $extra1, $extra2, $extra3,
                                $type);
echo "created article '$title' with id $article.";
?>

If anyone could tell me why this doesn't work and/or what would, I'd be
obliged.

Sam



--
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]

Reply via email to