That code works perfectly for me so perhaps it's the html code on the main page used to include the iframe. The code I used to include the iframe is as follows:
<iframe src='frame.php' width=300 height=30>Iframe Not supported</iframe>
Also if you want to know what language to do the proper vision in I would suggest pure javascript and a div tag because every second a javascript function could update the contents of what is inside the div tag using basic maths.
cwarn23
Occupation: Genius
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
like cwarn suggested, try using JS to call the iframe, , then display the php date.
if you need more help, please paste your code from the main page and the iframe.
thanks
sassenach
Junior Poster in Training
61 posts since Mar 2009
Reputation Points: 10
Solved Threads: 0