16.07.2015, 14:41
Hello!
You have to do that like this:
It is an example so you have to complete this.
- Mencent
You have to do that like this:
PHP код:
format(query,sizeof query,"UPDATE `companies` SET `companyName`='%s',`companyColor`=%d,`companyType`=%d,`companyRanks`=%d,`companyInformationX`=%.4f,",
SQL_RetrunEscaped(CompanyData[companyid][companyName]),CompanyData[companyid][companyColor],CompanyData[companyid][companyType],CompanyData[companyid][companyRanks],
CompanyData[companyid][companyInformationPos][0]);
format(query,sizeof query,"%s`companyInformationY`=%.4f,`companyInformationZ`=%.4f,//and so on",
query,CompanyData[companyid][CompanyInformationPos][1]
- Mencent