Quote:
Originally Posted by DobbysGamertag
Why not use:
pawn Code:
if(cache_num_rows())//exists { //code }
Plus, to get a string, the syntax:
pawn Code:
cache_get_field_content(row, field_name[], destination[], connectionHandle = 1, max_len = sizeof(destination));
|
If he already connected to the DB he doesn't want to have the connectionHandle = 1, for me in the past that has caused errors for MySQL.
And mine checking if it exist works the same as yours does, person preference :P