View Single Post
ZEDD_Intensity
Senior Member
Join Date: Jun 2016
Old 01-20-2019 , 10:38   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1465

Quote:
Originally Posted by VINAGHOST View Post
I found it !
In this line (line 255) , you use wrong table. It is victim_name not name.

PHP Code:
$query1 'SELECT * FROM advanced_bans where   === >>> name <<< ===  like "'.$search.'%" ORDER BY banlength DESC' 
After I change, it work perfectly ._.
Ah, good catch. Can't believe I missed that myself. I'm happy it's all good for you now. Reason why it worked for me is because my table is 'name' and so that one really went unnoticed.

Updated in the Original Post.

Regards,
ZEDD
__________________

Last edited by ZEDD_Intensity; 01-20-2019 at 11:07.
ZEDD_Intensity is offline