set limit to sql query, use defined PHP end of line const