I have three tables namely title, image, lists. title table has an auto_increment id which is present in other two tables as reference id, other than that these two has their own auto_increment pid and lid, i want to fetch record from all tables using while loop.
eg.
my title table has
id title
1 nirman
2 meditation
my image table has
pid id image
1 1 1.jpg
2 1 2.jpg
3 2 6.jpg
and my list table has
lid id list
1 1 serve us....
2 1 web service
3 1 cms
4 2 about
i have different division to show all data from image and list table where heading is coming from title table. If you can understand what I am trying to ask then please reply with relevant code otherwise reply with the part of my text you could not understand.