you have to build a script around this query:
Code:
INSERT INTO post (postid,userid,threadid,dateline,visible,pagetext) VALUES (null, your userid, threadid to post in, actual time, 1, and here is all infos you want to have in the post)
not thet will add a post to a thread you specified in whatever forum this thread is in, but it won't upgrade any counters
you should also run this query to get the right ammount of replys in the thread:
Code:
UPDATE thread SET replycount=replycount+1,lastpost=actualtime