Jump to content

need your advice on this


darkcarnival

Recommended Posts

I'm making a convertor for a board program of mine and currently im makinga  convertor to move phpbb data over to my board.

now im stuck on their post system

they have everything in various tables and one item im trying to figure out is the topics.

ater a topic has been transfered over to my topic table i want to delete it but phpbb place their topics in the same spot as the posts, so i have to do this without double posting the topics and without deleting the replies.

anyone here got any ideas how i can go about this?

a huge thanks to anyone who helps(finish this and im done with the convertor)
Link to comment
https://forums.phpfreaks.com/topic/14186-need-your-advice-on-this/
Share on other sites

well theres too much to list here ;)

guess i could show you what i think might work:

[code]mysql_query("delete from ".$table_prefix."posts where topic_id='$row[topic_id]' and post_id < '$row[post_id]'") or die("Could not delete topics from phpbb.<br>". mysql_error());[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.