Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
irandoct
Hangin' Around


Joined: Dec 01, 2003
Posts: 39

PostPosted: Wed Dec 22, 2004 3:00 am Reply with quote

Hello all,
I have merged my english and farsi site. after that i have some duplicate records in my users table. I need a quick php code to remove this duplicate rows. Can anyone help me in this case ?
Please post your suggested code here !
Regards
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Dec 22, 2004 6:15 am Reply with quote

What is duplicated? The user name?
 
View user's profile Send private message
irandoct
PostPosted: Wed Dec 22, 2004 10:54 am Reply with quote

dear raven,
thank you for your replay. yes, i have some duplicate username in my users table ?!
Please advise !
 
Raven
PostPosted: Wed Dec 22, 2004 11:35 am Reply with quote

Does it matter which record remains?
 
irandoct
PostPosted: Wed Dec 22, 2004 11:42 am Reply with quote

i need records with lower user_id remain and records with higher user_id delete ?
thanks
 
irandoct
PostPosted: Thu Dec 23, 2004 8:48 am Reply with quote

dear raven,
i'm looking forward to your response!
Thanks
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©