Forum Moderators: coopster

Message Too Old, No Replies

PAGING inside a TABLE

         

charvie

9:30 am on May 10, 2008 (gmt 0)

10+ Year Member



does anybody know how to do PAGING using PHP inside a table.
you see, my page is divided into 2 (i used tables) the left side views the profile of a PATIENT(name,address...etc.) while on the right side of the table are dates when the patient received his/her check-up.
Now, i want to apply paging on the RIGHT side of the table so that if the patient receive his/her check-up in many different dates then he/she can just press "previous","next" but still viewing it in the right side of the table.

in short, i wnat to apply paging only to the right side of the table.

henry0

11:08 am on May 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Refresh/reload
or
AJAX
or
Frames
or
CSS allowing for scrolling down overflow on your right pan

charvie

11:17 am on May 10, 2008 (gmt 0)

10+ Year Member



wa!...i can't do frames cause it needs to be just tables

henry0

11:48 am on May 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This becomes an HTML question
however here is what you could do within your table
<td><iframe src="my_frame_url" style="height:...px; width:...px; border:0px;" name="my_iframe">
<a href="my_frame_url">
this could be added as a sorry message if a browser does not support iframe, which nowadays I doubt but...
</a></iframe></td>

charvie

11:55 am on May 10, 2008 (gmt 0)

10+ Year Member



will this solve my problem of having the "right page" have paging and the "left page" without paging?

henry0

12:20 pm on May 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Give it a try
but it cannot "resubmit" out of the blue
it only ofers you a way to split left and right pan

Next you need to use an AJAX call
or still adding a classical PHP MySQL paging