Click here to Skip to main content
15,906,766 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a database for bidding site, All i need is when i click "MyPosts" button only my posts are show or the specific person that is login is shown, plz need help Friends
Posted
Comments
Pradeep Shukla 17-Sep-11 2:22am    
What is the question here?

1 solution

Filter your "MyPosts" by specifing a WHERE clause in your query.

SQL
select col1,col2,... from myposts where username='user1'
 
Share this answer
 
Comments
Asad_Iqbal 17-Sep-11 3:15am    
Appreciate Your Answer Friend but what for many user in database, that code is for specific user i think.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900