You are here: Re: 10 records per page « PHP SQL « IT news, forums, messages
Re: 10 records per page

Posted by lists.niekas on 05/03/06 10:53

For limiting the returned results by a query try using the LIMIT (
"SELECT .. FROM .. LIMIT 10,10" - will return 10 rows from the query
starting from 10th row).

In order to have total count of rows you will have to use separate
query like: "SELECT COUNT(*) AS count FROM ... WHERE ..."

--
Niekas [ more mySQL help at http://forums.niekas.com ]

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация