show previuos record or next record
Posted: Tue Dec 08, 2009 12:44 am
hi all
In my i have displayed users profiles.
when click on view profile link the page is redirect to view_profile.php?uid=10004
now i want to display pagination at view_profile.php?uid=10004 page like <prev next>
when we click on <prev link it will redirect to view_profile.php?uid=10003 .for next> link it wwill redirect to view_profile.php?uid=10005 .
in my database i have a tabel for users . records are like shown below.
----------------------------------------------------------------------
id | name | email | picture | password | phone | address | dob
-----------------------------------------------------------------------
1001 a sdf 1.jpg hfg 657 556
1002 b dummy ghf dummy dummy dummy dummy
1003 c dummy dummy dummy dummy dummy dummy
1004 d dummy dummy dummy dummy dummy dummy
1005 e rr rtt rtt 456 45656 4656
-------------------------------------------------------------------------
thank you in advance
please help me
regards
bhanu
In my i have displayed users profiles.
when click on view profile link the page is redirect to view_profile.php?uid=10004
now i want to display pagination at view_profile.php?uid=10004 page like <prev next>
when we click on <prev link it will redirect to view_profile.php?uid=10003 .for next> link it wwill redirect to view_profile.php?uid=10005 .
in my database i have a tabel for users . records are like shown below.
----------------------------------------------------------------------
id | name | email | picture | password | phone | address | dob
-----------------------------------------------------------------------
1001 a sdf 1.jpg hfg 657 556
1002 b dummy ghf dummy dummy dummy dummy
1003 c dummy dummy dummy dummy dummy dummy
1004 d dummy dummy dummy dummy dummy dummy
1005 e rr rtt rtt 456 45656 4656
-------------------------------------------------------------------------
thank you in advance
please help me
regards
bhanu