> > You mean move an article from one topic to another? You can use 
> > mgd_move_article for that.
> 
> No, I need mgd_copy_article

Why not use this? You can easily make it a function.

<?php

$newarticle = mgd_get_article();
$oldarticle = mgd_get_article($oldarticleid);

$newarticle->title = $oldarticle->title;
$newarticle->name = $oldarticle->name;
$newarticle->content = $oldarticle->content;
// for all fields to be copied

$newarticle->topic = $destinationtopicid;

$newarticle->create();

?>


----------------------------------------
Anders Sj�lander, webmaster   
  +46 8 693 7730    
  ZoomON AB    
  Alstr�mergatan 22    
  SE-112 98 Stockholm, SWEDEN    
  http://www.zoomon.com/    
---------------------------------------
A good fantasy   
is better than a bad reality    
BEGIN:VCARD
VERSION:2.1
N:Sj�lander;Anders
FN:Anders Sj�lander
ORG:ZoomON AB
TITLE:Webmaster
NOTE:ICQ# 3478013
TEL;WORK;VOICE:+46 8 693 7730
ADR;WORK:;;Alstr�mergatan 22;Stockholm;;SE-112 98;SWEDEN
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Alstr=F6mergatan 22=0D=0AStockholm SE-112 98=0D=0ASWEDEN
X-WAB-GENDER:2
URL:http://snuff.nu/zood
URL:http://www.zoomon.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20010117T090100Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to