30.05.2016, 16:54
If it returns more than 1 row, then use a loop like in the first one.
If it returns only 1 row (which in this case you better add "LIMIT 1" at the end of the query), then:
If it returns only 1 row (which in this case you better add "LIMIT 1" at the end of the query), then:
pawn Код:
if (cache_get_row_count(SQL))
{
cache_get_field_content(0, "AddBy", gString);
}

