MySQL
#5

PHP код:
mysql_format(SQL_connecte, query, sizeof(query),"SELECT `Pass`, `ID` FROM `utilisateur` WHERE `Nom` = '%e' LIMIT 1", nsql[playerid]);
    
mysql_tquery(SQL_connecte, query, "OnAccountCheck", "i", playerid); 
PHP код:
ache_get_data(rows, fields);//let's get the rows and fields from the database.
    
if(rows) //if there is row
    
{//then
        
cache_get_field_content(0, "Pass", pInfo[playerid][Pass]);
        
pInfo[playerid][pID] = cache_get_field_content_int(0, "ID"); 
    } 
Reply


Messages In This Thread
MySQL - by Sirop - 31.07.2016, 16:07
Re: MySQL - by Shinja - 31.07.2016, 16:33
Re: MySQL - by Sirop - 31.07.2016, 16:38
Re: MySQL - by Shinja - 31.07.2016, 16:41
Re: MySQL - by Shinja - 31.07.2016, 16:43
Re: MySQL - by Sirop - 31.07.2016, 16:53
Re: MySQL - by Konstantinos - 31.07.2016, 17:24
Re: MySQL - by Sirop - 31.07.2016, 17:30
Re: MySQL - by Konstantinos - 31.07.2016, 18:16
Re: MySQL - by Shinja - 31.07.2016, 19:08

Forum Jump:


Users browsing this thread: 1 Guest(s)