Reply to Re: Using MySQL, can I SELECT rows only within a certain range (ie. rows 11-20)

Your name:

Reply:


Posted by Rik on 07/31/06 15:56

davek wrote:
> Rik wrote:
>> Add " LIMIT 11, 10" to your query, and get only the rows you need.
>> Check the MySQL manual for the exact workings.
>
> If you want the 11th row to be the first row of your selection, that
> should be LIMIT 10,10 (since rows are counted from 0).

Doh, you're offcourse totally right, my apologies.
I haven't LIMIT with 2 arguments a while :-).

Grtz,
--
Rik Wasmus

[Back to original 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

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