argrafic Posted December 14, 2007 Share Posted December 14, 2007 Hello to all, I'm new and glad to be here! I consider myslef a middle level PHP programmer and I have the following question. Is there a way to paginate a single article/row. I have a data base of articles. One row has the title, the section it belongs and the whole article. That single article can sometimes be of almost 5 pages long and I don't want to to be that long in a single page. Is there a way to "break" the articule into pages? Thanks a lot. God bless and take care!! Quote Link to comment Share on other sites More sharing options...
Yesideez Posted December 14, 2007 Share Posted December 14, 2007 Sure is! You need to add "LIMIT offset,count" into your MySQL query. You also have a little more work as you need to present the user with some way of choosing which page they want to view out of how many pages available. Quote Link to comment Share on other sites More sharing options...
argrafic Posted December 17, 2007 Author Share Posted December 17, 2007 ok, i'll look up how to do that. thanks!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.