pageing in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Lphp
Forum Commoner
Posts: 74
Joined: Sun Jun 26, 2011 9:56 pm

pageing in php

Post by Lphp »

is that possible do the paging in this way? :?: select out of db , if reach some high display on the other page
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: pageing in php

Post by Celauran »

Could you maybe explain a little more what you mean?
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: pageing in php

Post by social_experiment »

@OP : you're refering to pagination
http://php.about.com/od/phpwithmysql/ss/php_pagination.htm
I found this url doing a search on the forum, but you can also search for more results.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Lphp
Forum Commoner
Posts: 74
Joined: Sun Jun 26, 2011 9:56 pm

Re: pageing in php

Post by Lphp »

Thank you for the link, I know how to handle this part , I just wonder could I paging not by row , but by something like when the content reach 200px. go to other page ?
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: pageing in php

Post by social_experiment »

Lphp wrote:...but by something like when the content reach 200px. go to other page ?
Not sure if this is possible but i would guess javascript or something like jQuery might be able to do this(?)
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply