Hello everyone,
I've a list of 100 profiles in a table and show 20 everyday.what i want to do is, i want to show todays date on the first few profiles and yesterdays date on the next few profiles and the previous day on the other profiles and so on.This has to follow everyday, that is today i show 1 to 20 and tomorrow 21 to 40 and so on.
I also want to restrict the following:
1.Say,I show todays date on the first 6 profiles today.
2.and when i list 20 profiles tomorrow,i dont want to show tomorrows date on 6 profiles.
The reason behind this is, if the same user comes to my page everyday and checks the profiles, i dont want the user to get an impression that the first 6 profiles are new everyday.
well, how should i start with this one??I hope it makes sense with my question.
Many thanks
I've a list of 100 profiles in a table and show 20 everyday.what i want to do is, i want to show todays date on the first few profiles and yesterdays date on the next few profiles and the previous day on the other profiles and so on.This has to follow everyday, that is today i show 1 to 20 and tomorrow 21 to 40 and so on.
I also want to restrict the following:
1.Say,I show todays date on the first 6 profiles today.
2.and when i list 20 profiles tomorrow,i dont want to show tomorrows date on 6 profiles.
The reason behind this is, if the same user comes to my page everyday and checks the profiles, i dont want the user to get an impression that the first 6 profiles are new everyday.
well, how should i start with this one??I hope it makes sense with my question.
Many thanks
Kommentar