How to display 4 rows from mysql database and then use a next button to show the next 4 in PHP -



How to display 4 rows from mysql database and then use a next button to show the next 4 in PHP -

how result in php

php display page 1 1 kirk 12 2 jj 45 3 smith 16 4 kk 50 php display page 2 1 tt 12 2 kim 45 3 monique 16 4 pp 50

i getting first 4 when click next button bring first 4 again. want next button bring next 4 , not first 4

limit [offset], [row_count] so, limit 0,4 on first page, limit 4,4 on sec page, limit 8,4 on next, etc.

for more info, see: http://dev.mysql.com/doc/refman/5.0/en/select.html

dev.mysql.com resource on syntax , general how-to.

php mysql html sql

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -