I actually just coded it now

this is what i needed to do..
1) When submitting a news item, I need to know the member id of my poster ($unum)
2) I then needed to create my TOPIC first.. this is assuming you want it created in the 1st board, which was GENERAL DISCUSSION for me
sql is:
"INSERT INTO ercdvs1.topics VALUES('','1','$unum[0]','$unum[0]','0','0','-1','1','0','0','','0')";
The 5th and 6th '0' are the message id of the first post in the topic, i made it zero for now.
ercvs1.topics is my database.table and $unum[0] is the array value holding my id number
i then need to get the topic id i just created:
$topic_id = mysql_insert_id();
I then create the first message in the topic:
"INSERT INTO ercdvs1.messages VALUES('','$topic_id','$unum[0]','$title','$login_uname','$login_email','$post_time','$memIP','1','','','$body','xx','0','')";
$post_time is time()
$memIP is my ip address
i need to get the message id i just created, to insert it BACK into my new topic..
$msg_id = mysql_insert_id();
"UPDATE ercdvs1.topics SET id_first_msg='$msg_id',id_last_msg='$msg_id' WHERE id_topic='$topic_id'";
This is VERY specific to my front page news system, and I am customising a 1.4.1 board..
my method may be crude, but it works... I dunno if its the most efficient way of doing it, but it works..
i tried to make it as generic as possible .. check it out here:
http://www.winocrossing.com