not getting the message
#3

Try not to nest so much if-statements inside one another. Makes code needlessly hard to read. What I assume you want is something like this: http://pastebin.com/167BUH99. This works on the principle of "INSERT IGNORE", assuming that the combination (FriendID, PlayerID) is the primary key. Much shorter and cleaner and IMO also more straightforward.
Reply


Messages In This Thread
not getting the message - by StR_MaRy - 15.11.2016, 14:45
Re: not getting the message - by Bolex_ - 15.11.2016, 15:16
Re: not getting the message - by Vince - 15.11.2016, 15:34
Re: not getting the message - by StR_MaRy - 15.11.2016, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)