nomoreillusions Posted February 15, 2007 Share Posted February 15, 2007 My board was recently hacked and my primary user ID/primary Admin ID was deleted. (thankfully I have a few) Is there any way to rebuild the user info directly in the database? I'd rather not loose the ID and for the moment, the posts remain intact with the name delegated to being a 'guest' poster rather than a registered poster. I don't want to loose the posts either... any suggestions? Link to comment https://forums.phpfreaks.com/topic/38575-undeleting-a-user-in-php/ Share on other sites More sharing options...
Wuhtzu Posted February 15, 2007 Share Posted February 15, 2007 It might be helpfull if you told us which board you were using.... Link to comment https://forums.phpfreaks.com/topic/38575-undeleting-a-user-in-php/#findComment-185151 Share on other sites More sharing options...
hitman6003 Posted February 15, 2007 Share Posted February 15, 2007 ummm... INSERT INTO tablename (id, username) VALUES ($lost_user_id, $lost_user_name); or am I missing something obvious? Link to comment https://forums.phpfreaks.com/topic/38575-undeleting-a-user-in-php/#findComment-185152 Share on other sites More sharing options...
nomoreillusions Posted February 15, 2007 Author Share Posted February 15, 2007 It might be helpfull if you told us which board you were using.... Oh bother, I'm sorry. I just realized I posted this in the wrong forum *blush* *don't mind me. leaving now* Link to comment https://forums.phpfreaks.com/topic/38575-undeleting-a-user-in-php/#findComment-185153 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.