hi evry one may be this a tip task or easy but for me it is not easy i have show.php and showpost.php page in show.php i am showing my picture while in showpost.php i am showing post now if a user add picture it should be on of my home page and if a user post then post should be on top and the picture which have uploaded by first one user just come under this post and so on .....
my code show latest picture on top and also latest post on top but all post are under all picture hope you pepople will understand my problem if you got it please help me
my home page code is
<!----------retrive data from post table------->
<!----end of post ---->
<!----retrive data from comments table---->
<!-----end of comments------->
and the next problem is that i want if a user post a comments it should came under the related top
thanks in advance please help!!!!!!!!!!!!