Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question Value of variable not updated out of SQL fetchall request function

Grainbox

Member
Joined
Dec 18, 2021
Messages
1
Reaction score
0
Points
146
Location
France
Hi, i want to check if a player is admin or not so i ask my BDD for it, but i want to change the value of 'admin' by '1' if he is admin but 'admin' isn't updating.
Here is the code:
1639786774504.png


The program goes through the elseif condition but it comes out without updating admin.
IDK why, if someone have any answer,
Thank's
 

Zan1456

Zan#1456
VIP
Joined
Mar 19, 2021
Messages
786
Solutions
5
Reaction score
88,221
Points
421
Location
Hungary
Website
vfivem.com
Hi, i want to check if a player is admin or not so i ask my BDD for it, but i want to change the value of 'admin' by '1' if he is admin but 'admin' isn't updating.
Here is the code:
View attachment 3847

The program goes through the elseif condition but it comes out without updating admin.
IDK why, if someone have any answer,
Thank's
Moved to Technical Support
 
Top