Good day! Please tell me how to set a custom variable for the number of lines output from mysql There are -
$query="SELECT nam3 , COUNT(*) AS total FROM lottoindex WHERE nam3 > 0 GROUP BY nam3 ORDER BY nam3+ 0 ASC "; You need to add LIMIT "myvar" Where "myvar" is the number that the user entered in the input ... Thank you very much in advance