pp wrote:
> 
> Now my problem is that I can add articles just once :((
> If I go back and choose another article to add - it can't be done .
> 
> > >
> > > $topic1 = mgd_create_topic(144222,$something,'1','1',1,'2');
> > >  if(!$topic1) { echo "not OK.<br>";
> > >                           } else {
> > >                            echo "OK";
> > >                          }
> > > till now works fine
> > >
> > > $up       = "";
> > > $topic    = $something ;

no , no $topic = $topic1 here

> > >  $name     = name;
> > > $title    = "&(article.title);";
> >
> > > $abstract = "";
> > >  $content  = "";
> > >  $content .= "";
> > >  $content .= "";
> > >  $author   = 2;
> > >  $url      = "";
> > >  $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);
> > >     if( ! $article ) {
> > >              echo "Creation  '$title' failed.<br>\n";
> > >               } else {
> > >              echo "Created  '$title'"
> > >      }
> > >
> 
> --
> http://www.milinski.com.pl
> http://www.infoglob.com
> http://agaipiotras.igk.pl
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
http://www.milinski.com.pl
http://www.infoglob.com
http://agaipiotras.igk.pl

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

Reply via email to