25.01.2016, 22:20
Alright so this code works and all, but I want to limit it out
Id want to limit it to LAST 50 entries from the player.
I suppose its where LIMIT 50 comes in but I want to get last 50 not random 50
PHP код:
mysql_format(mysql, query, sizeof(query),"SELECT `Name`,`Message`, `Date`,`Time` FROM `chatlog` WHERE `Name`='%e'",somename);
mysql_tquery(mysql, query, "OnChatLoad","i",playerid);
I suppose its where LIMIT 50 comes in but I want to get last 50 not random 50