| | |
PHP and HTML and IFRAME problem
![]() |
•
•
Join Date: May 2008
Posts: 119
Reputation:
Solved Threads: 4
I included a file in one of my sites via an iframe (simplest solution and by FAR not permanent), just to get a feel for the way it might look on the site
However, after adding the iframe to the site, i have no other data, the page is saved as php, just jumped out of php to add the iframe (doing so in php makes no differance)
But the page is black for all BUT the iframe, any help would be appreciated and i am puzzled
that a much more basic webpage, this webpage shows nothing as well, all it is supposed to do is show the i frame, and echo the date / time
it will not echo the date / time, only display the iframe
its prolly something stupid
However, after adding the iframe to the site, i have no other data, the page is saved as php, just jumped out of php to add the iframe (doing so in php makes no differance)
But the page is black for all BUT the iframe, any help would be appreciated and i am puzzled
PHP Syntax (Toggle Plain Text)
<script language="javascript" type="text/javascript">setTimeout("location.reload();",1000);</script> <?PHP echo date("l F d, Y, h:i:s"); ?>
that a much more basic webpage, this webpage shows nothing as well, all it is supposed to do is show the i frame, and echo the date / time
it will not echo the date / time, only display the iframe
its prolly something stupid
Do you geek alone?
<<TimmCo>> Custom Computers
~Executive
<<TimmCo>> Custom Computers
~Executive
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:
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.
html Syntax (Toggle Plain Text)
<iframe src='frame.php' width=300 height=30>Iframe Not supported</iframe>
Try not to bump 10 year old topics as it can be really annoying.
http://syntax.cwarn23.net/
My favourite PC. -- Jumba webhosting
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*` Want 1 on 1 php help, add me to msn at msn@cwarn23.infoMy favourite PC. -- Jumba webhosting
![]() |
Similar Threads
- iframe height (HTML and CSS)
- Problem to overload on previous image?? (PHP)
- passing vars from DB into iFrame (PHP)
- page loading problem (PHP)
- Dynamic iFrame height, not working in ie without refresh. (JavaScript / DHTML / AJAX)
- Pass a javascript variable to PHP in the same function (JavaScript / DHTML / AJAX)
- PHP Help - Display forum online and total members on main page (PHP)
Other Threads in the PHP Forum
- Previous Thread: Generating PDF Using PHP
- Next Thread: PHP
Views: 504 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for PHP
access ajax apache array arrays beginner binary box broken buttons cakephp check checkbox class cms code cookies database date delete directory display download dropdown drupal dynamic echo email error file files form forms function functions header href htaccess html image images include insert ip java javascript joomla jquery limit link list login loop mail menu mlm mod_rewrite multiple mysql order output parse password paypal php problem query radio regex remote results script search security select server session shopping soap sort sorting source sql string system table tutorial update updates upload url user validation validator variable video web website wordpress xml






