Hi,
Can any body help me to solve this query. I have four following tables.
tbl_suggestions
s_id, us_id, pj_id, ch_id, desc
1, 2, 1, 1, this is first suggestion
2, 3, 1, 1, this is first suggestion
3, 2 , 1 , 2 , this is second suggestion
4, 2 , 2 , 1 , this is first suggestion
tbl_user
us_id, name
2, John
3, Tony
tbl_projects
pj_id, pj_title
1, English
2, History
tbl_chapters
ch_id, ch_title
1, chapter 1
2, chapter 2
I want to show my data in this format
JOHN(tbl_user)
ENGLISH (tbl_projects)
CHAPTER 1 (tbl_chapters)
this is first suggestion (tbl_suggestions)
CHAPTER 2 (tbl_chapters)
this is second suggestion (tbl_suggestions)
[B]HISTORY[/B]
[B]CHAPTER 1 (tbl_chapters)[/B]
this is first suggestion (tbl_suggestions)
TONY(tbl_user)
ENGLISH (tbl_projects)
CHAPTER 1 (tbl_chapters)
this is first suggestion (tbl_suggestions)