04.09.2017, 18:58
Hi,
With this function i create random string, and i write it in mysql database i need to escape it?
Код:
stock randomString(strDest[], strLen = 10) { while(strLen--) { new nntte = random(3); if( nntte == 0 ) { nntte = random(26) + 'A'; } else if( nntte == 1 ) { nntte = random(26) + 'A'; } else if( nntte == 2 ) { nntte = arraygf[random(sizeof(arraygf))] + '0'; } strDest[strLen] = nntte; } }