By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,335 Members | 2,281 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,335 IT Pros & Developers. It's quick & easy.

i want to display data from textnews field in mysql within limited lines. can any one

P: 1
i want to display data from textnews field in mysql within limited lines. can any one help me. the data is in textnews field at 500 lines. i want to display only 25 lines per page. please help me
Oct 14 '12 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,035
Look at the the LIMIT and OFFSET options of SELECT
Oct 14 '12 #2

100+
P: 122
thats right. for example:

Expand|Select|Wrap|Line Numbers
  1. select * from `tablename` limit 0,25;
the above sql means select all rows start from row 1 to row 25.
Oct 18 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.