25.01.2015, 11:33
(
Последний раз редактировалось zaibaslr2; 25.01.2015 в 13:00.
)
Hi,
I'm loading multiple rows:
My database:
But the script starts printing from second row, skipping first one. What do I have to do to make it count first row too?
I'm loading multiple rows:
pawn Код:
new Result:c = sql_query(sql,"SELECT * FROM pastatai WHERE SklypoID = 0",QUERY_CACHED);
while(sql_next_row(c))
{
printf("Object Found, PastatoID = %d",sql_get_field_assoc_int(c,"PastatoID"));
}
But the script starts printing from second row, skipping first one. What do I have to do to make it count first row too?