Jump to content


Photo

need your advice on this


  • Please log in to reply
2 replies to this topic

#1 darkcarnival

darkcarnival
  • Members
  • PipPipPip
  • Advanced Member
  • 162 posts

Posted 10 July 2006 - 03:18 PM

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)

#2 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 10 July 2006 - 04:17 PM

Show some code, this isn't my area, but other people could help, but you might want to give them something to go by.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#3 darkcarnival

darkcarnival
  • Members
  • PipPipPip
  • Advanced Member
  • 162 posts

Posted 11 July 2006 - 01:25 AM

well theres too much to list here ;)

guess i could show you what i think might work:

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());





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users