Thread: [Solved] Retrieve data from sql
View Single Post
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 05-04-2024 , 08:17   Re: Retrieve data from sql
Reply With Quote #9

You're trying to integrate the plugin I just gave you inside your own code, you don't need to do all that. You're better off just using the plugin that I posted, and fixing your sql.cfg

The error however is caused by a lack of line breaks. Look closer at the code I posted:

Spoiler


There's a line break character '\' which is used to continue a line of code on the next line without breaking the syntax. Since you've removed all of them, the syntax breaks, and throws this error. Its saying "You have no rank", because the query doesn't return any results due to the broken syntax.
__________________
Rohanlogs is offline