locked
orkut functionality RRS feed

  • Question

  • User-1906053058 posted

    Hi Friends,

    I need some guidance in developing orkut functionality
    When a user clicks on "Recent Visited Profiles" only 4 most recent visitors  should be displayed. I can use the timestamp but if there is another recent visitor, then the 4recent profiles must be updated (i mean delete the 4th one and make the most recent 1st, and then 2nd,2rd, 4th).

    Any sample code will be greatly appreciated

    Thanks
    smitha

    Thursday, March 24, 2011 2:03 AM

All replies

  • User1992938117 posted

    I need some guidance in developing orkut functionality

    Orkut functionality means what?

    As you said you want to show only latest 4 friend request then save all to database and pick only top 4 records from database using this you can give one MORE option to see all request to user.

    For query see:

    http://www.w3schools.com/sql/sql_top.asp

     

    Thursday, March 24, 2011 9:09 AM