PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
irandoct
Hangin' Around


Joined: Dec 01, 2003
Posts: 39

PostPosted: Sun Dec 19, 2004 1:41 am Reply with quote Back to top

hello all,
i have merged my english and farsi web site . I need to delete some duplicate users from user table. a quick code need for this purpose !
Thanks
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Dec 19, 2004 10:08 am Reply with quote Back to top

i doubt if theres an easy way to do this,specially because they all have their ID's.
i dont know how many members you have but if go to the table and let phpmyadmin show them all the you just have to is select on name and after that select the duplicates and delete...
View user's profile Send private message
Mesum
Useless


Joined: Aug 23, 2002
Posts: 213
Location: Chicago

PostPosted: Sun Dec 19, 2004 12:02 pm Reply with quote Back to top

But still, wouldn't userid will cause the problem too?
Site A has UserA as ID 4 and site B had UserY, then what?

I think he'll have to manually import the users to DB.
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Dec 19, 2004 1:17 pm Reply with quote Back to top

probably....
i had my share of handywork so if you put your mind to it you can do it all by hand.
just resume from the last added member...so if the last member and id was 250 just pick the first from the farsi nuke_users and give it 251.
im sure its possible to put a script together but if it was easy it was already posted.......i think.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum