try:
PHP Code:
new Plat[12], Bankmoney[12]
while(SQL_MoreResults(Query))
{
SQL_ReadResult(Query, SQL_FieldNameToNum(Query,"Stav"), Bankmoney, 11)
SQL_ReadResult(Query, SQL_FieldNameToNum(Query,"Plat"), Plat, 11)
g_BankMoney[id] = str_to_num(Bankmoney)
g_BankPlat[id] = str_to_num(Plat)
SQL_NextRow(Query)
}
Why do you store it in VARCHAR(10) and not integer ?
__________________