well maybe not directly included with an iFrame, but you could probably modify the source of the iFrame to include your php?id
eg: instead of adding it directly to the iFrame, set the source of the iFrame to a blank html file (you create) then add any links, or coding there.

iFrames aren't that bad, just treat them as they are.. a self contained webpage that happens to be displayed inside another page.