mysql does not load string (no errors)
#1

PHP код:
mysql_format(sqlquerysizeof query"SELECT `chat_color` FROM `user_features` WHERE `id` = %d"DB[playerid][ID]);
    
result mysql_query(sqlquery);
    
printf(query);
    new 
getstr2[15];
    
cache_get_field_content(0"chat_color"getstr2);
    
format(DB[playerid][ChatColor], 15getstr2);
    
Message(playeridTYPE_INFOgetstr2);
    
Message(playeridTYPE_INFODB[playerid][ChatColor]);
    
cache_delete(result); 
no errors at all,
Batch file (printf), all seem to be good:
PHP код:
SELECT `chat_colorFROM `user_featuresWHERE `id` = 
but getstr2 stays blank for some reason.
Reply


Messages In This Thread
mysql does not load string (no errors) - by Lirbo - 18.07.2017, 22:56
Re: mysql does not load string (no errors) - by HoussemGaming - 18.07.2017, 23:19
Re: mysql does not load string (no errors) - by saffierr - 19.07.2017, 00:15
Re: mysql does not load string (no errors) - by Lirbo - 19.07.2017, 09:38
Re: mysql does not load string (no errors) - by Kaperstone - 19.07.2017, 09:50

Forum Jump:


Users browsing this thread: 1 Guest(s)