2020-10-26, 10:47 AM
(2020-10-26, 10:30 AM)Pinch Wrote:(2020-10-26, 10:06 AM)Expert* Wrote:PHP Code:for(new i = 0; i < rows && i < MAX_GIFT; i)
or
PHP Code:for(new i = 0; i < rows; i)
{
? ? if( i ==?MAX_GIFT ) break;
? ? // ...
Uhm, it obviously isn't a problem because their database's ending is 50 and their loop was already limiting it to MAX_GIFT :D
But yeah, if( i ==?MAX_GIFT ) break; is fine
It's something else, probably related to g_gift
Just in case. He doesn't look like someone who knows what he is doing...