> The reasons why an article create would legitemately fail:
> 
> - author specified doesn't exist (returns NOT_EXISTS)
exists
> - parent topic doesn' exist (NOT_EXISTS)
exists
> - up article, if specified, doesn't exist (NOT_EXISTS)
exists
> - you're not the topic owner (ACCESS_DENIED)
access is good 
The point is that I know this topic's name , not ID.
How to get topic's ID just knowing its name?
or
define t.id and get it even $t already exists with something like this:

$t = mgd_create_topic(144,$sth,'1','1',1,'2'); 
 if(! $koszyk) { echo "not OK<br>"; 
   }   else { 
                           echo "OK" ; 
 $tid = mgd_get_topic($t); 
 echo " . $tid->id .";}  

If there is anyother way to make this , let me know.

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