I'll try to explain my problem a bit.
I'm trying to get ID of the present post/page at WordPress. Normally I was doing it by sth like this:
global $post; $id = $post->ID
..but now I want to do it after calling the loop (for showing sth like 3 posts form category X in the page content). Unfortunately it results by getting ID of the last post shown at the loop. Do anyone know any method how to do this?