Emiliano wrote:

> Can you elaborate on 'some problem'? I may have some solution.

Of course! Sorry, I could wrote it a post before:

code-global
<? $uzer = mgd_auth_midgard (bla,bla); 
 if (!$uzer) {echo "user jest.<br>"; 
  } else { 
  echo "ni ma usera"; 
   } 
 ?> 


and main content:

$topic = mgd_create_topic(144222,$something,'1','1',1,'2'); 
 if(!$koszyk) { echo "not OK.<br>"; 
                          } else { 
                           echo "OK"; 
                         } 
till now works fine


$up       = ""; 
$topic    = $something ; 
 $name     = name; 
$title    = "&(article.title);"; 
/* BTW I don't know how use it here */

$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'"
     } 

And "Creation '$title' failed" everytime


Piotras

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