| | |
PHP and HTML and IFRAME problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2008
Posts: 113
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 threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
![]() |
Similar Threads
- 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)
- iframe height (HTML and CSS)
- 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
| Thread Tools | Search this Thread |
advanced apache api array beginner binary broken cakephp checkbox class cms code cookies cron curl database date datepart display dropdownlist dynamic echo email eregi error execution file files folder form forms function functions google head href htaccess html if...loop image include includingmysecondfileinthechain insert ip javascript job joomla jquery key library limit link login mail menu mlm multiple mysql oop password paypal pdf pdfdownload php phpvotingscript problem query radio random recursion remote screen script search server sessions smarty sms soap sorting source space sql startup stored syntax system table traffic tutorial update upload url validator variable video web xml youtube zend






