Add range check for row/col, check database results more carefully, use readfile instead of fpassthru
Add range check for row/col, check database results more carefully, send null response for no data (instead of empty)