$result = SQL_QUERY_ESC("SELECT id, gender, surname, family, email, status, sponsor_created, last_online, points_amount, points_used, remote_addr, ref_count
FROM "._MYSQL_PREFIX."_sponsor_data
WHERE refid='%s' ORDER BY id",
$result = SQL_QUERY_ESC("SELECT id, gender, surname, family, email, status, sponsor_created, last_online, points_amount, points_used, remote_addr, ref_count
FROM "._MYSQL_PREFIX."_sponsor_data
WHERE refid='%s' ORDER BY id",