Thank you very much!
The code works great, just now ther is a problem with offset ??
Look at this example(1. is last posted, 2. is second last posted…:
1.postZZZ-(published in category 3)
2.postXXX-(not published in category 3)
3.postYYY-(not published in category 3)
4.postMMM-(not published in category 3)
If offset=2, the first post to apper it will postYYY. But i need to display the postMMM. Offset in my situacion is relativ (i want to skip first two posts that are not from category 3, but the first two latest posts). Do you know what i mean? ??