weeder Posted September 14, 2008 Share Posted September 14, 2008 Need help with a database query that will enable me to log duplicate ip's in database table name "user" and field where ip is stored is "lastip" I am trying to make a log file that wen run will tell me all "username" with the same ip I have search for hours to see if there is a thread here that can help but failed. Can anyone please help Link to comment https://forums.phpfreaks.com/topic/124215-mysql-help/ Share on other sites More sharing options...
peranha Posted September 14, 2008 Share Posted September 14, 2008 INSERT INTO user (lastip) VALUES ('$_SERVER['REMOTE_ADDR']') Link to comment https://forums.phpfreaks.com/topic/124215-mysql-help/#findComment-641406 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.