Any Ideas

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
User avatar
gurjit
Forum Contributor
Posts: 314
Joined: Thu May 15, 2003 11:53 am
Location: UK

Any Ideas

Post by gurjit »

Hi All,

I need some ideas how to do this.

I have a table with students and a realtional table with siblings containing the oldest students ID related to a student who is related to this oldest student. Also the student is related to him/her self in this table.

for example

tbl_student (stid, st_name, st_adr etc)
tbl_student_sibling(ssid, frn_stid, frn_ssid)

i'm writing a template to display all the oldest students with a count for the number of siblings they have. On each page, 10 records will be displayed. Any ideas how i can do the next and previous so that the same student does'nt get displayed and the siblings dont get displayed??????
Post Reply