07.03.2016, 14:19
You forgot to add the string size and the integer in the format parameter
Also reduce the string size, 300 is way to big, use something small like 32
PHP код:
sscanf(params, "s[300]d", tmp, iAmount)