Jump to content

Jira

Premium
  • Posts

    191
  • Joined

  • Days Won

    2
  • Feedback

    0%

Posts posted by Jira

  1. 22 hours ago, Catii said:

    you need to have somewere in your function the declaration of row, something like this:

    MYSQL_ROW row = mysql_fetch_row(pRes->pSQLResult);

    It already is, but is statically just for if statement..

    the good function..

    if(skillSQL->Get()->uiNumRows > 0){
    	MYSQL_ROW row = mysql_fetch_row(skillSQL->Get()->pSQLResult);
    	for(int i = 0; i < 3; i++){
    		int skill = 0;
    		str_to_number(skill, row[i]);
    		if(!skill)
    			continue;
    		petSkills += 1 << skill;
    	}
    }

     

    23 hours ago, glosteng4141 said:

    Thank You Friends.

    1.png

    2.png

    please, next time attach the code, not only picture

    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.