How is make a per page in table?

How is make a per page(5-10-25-50-100-All)?
Example:

Type “php pagination” into your favorite search engine for 11 years of tutorials.