$produkty=mysql_query('Select * From produkty Order By uid Desc Limit 0, 10');
wyświetlanie wyników:
Ilość wpisów w bazie: 21
I dla czego wyświetla mi tylko 9 pozycji skoro powinien 10 :|
Cytat(http://php.about.com/od/mysqlcommands/g/Limit_sql.htm)
Examples:
SELECT * FROM `your_table` LIMIT 0, 10
This will display the first 10 results from the database.
SELECT * FROM `your_table` LIMIT 0, 10
This will display the first 10 results from the database.