-1 should stay as long as the function didnt return ANYTHING.
on the exact moment in that i set iResults = sql_get_rows(); , iResults ceases to be "-1". Same the function have not had the time to return some value.
I am not correct?
Please! Use easy words to be translated. because my English is not very good! Grateful. _______________________________________________________