Ok, i am using page url to pass values among pages. I have set pages with urls-
1). threads.php?catagory=catagory1,
2).posts.php?catagory=catagory1(got value from above url using $_GET), &id=6(its primary key id from catagory1 table),&name=topicname(its topicname from a replies table), and
3). reply.php(with above url using get), and i have also many more pages but i think its good to include those pages only where i stuck. Now i want to pass name value from any of the links above (1 or 2) on thread.php page so that i can write query like-
select *from tablename where topicname='$_GET[name]' sothat i can display number of replies on threads.php correspond to there topicname. Is there any way to do it?