View Single Post
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 09-06-2019 , 05:01   Re: How does SQL_FetchInt work??
Reply With Quote #3

You need to do a select query:

PHP Code:
select xplevel from stats where steamid = %
Then in the thread function you fetch the row and then you fetch the columns:

PHP Code:

if (rs.FetchRow())
{
    
int xp rs.FetchInt(0); // the first column
    
int level rs.FetchInt(1); // the second column

__________________
Ilusion9 is offline