Error saving MySQL data
#6

Maybe you reset the variables after the database load them.
I don't see something wrong at the code that i gave to you now. Either at your code that you posted.
Also try again this:

PHP код:
function SaveAccountplayerid )
{
    new 
query_string5000 ];
    
formatquery_stringsizeofquery_string ), "UPDATE `accounts` SET `player_name` = '%s', `sex` = '%s', `rasa` = '%s', \
    `religia` = '%s' WHERE `id` = '%d'"
pInfoplayerid ][ pName ], pInfoplayerid ][ pPassword ], pInfoplayerid ][ pSex ], pInfoplayerid ][ pRasa ],
     
pInfoplayerid ][ pReligia ], pInfoplayerid ][ pID ] );
    
mysql_function_querymysql_connect_IDquery_stringfalse"""" );
    
    
printf"Дaннua aeeaунoa %d(%s) бuлe nоo?aнaнu."pInfoplayerid ][ pID ], pInfoplayerid ][ pName ] );
    
    return 
1;

Reply


Messages In This Thread
Error saving MySQL data - by Kireykin - 07.05.2018, 16:14
Re: Error saving MySQL data - by FaLLenGirL - 07.05.2018, 16:24
Re: Error saving MySQL data - by Kireykin - 07.05.2018, 16:27
Re: Error saving MySQL data - by FaLLenGirL - 07.05.2018, 16:32
Re: Error saving MySQL data - by Kireykin - 07.05.2018, 16:39
Re: Error saving MySQL data - by FaLLenGirL - 07.05.2018, 16:43
Re: Error saving MySQL data - by Kireykin - 07.05.2018, 16:49
Re: Error saving MySQL data - by FaLLenGirL - 07.05.2018, 16:50
Re: Error saving MySQL data - by Kireykin - 07.05.2018, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)