Bullet Posted August 20, 2008 Share Posted August 20, 2008 At the end of every page I place: <?php include_once"clock.php"; ?> It is a java script GMT time digital clock. But it only shows up on some pages, anyone know why? Link to comment https://forums.phpfreaks.com/topic/120583-wont-show-up/ Share on other sites More sharing options...
ratcateme Posted August 20, 2008 Share Posted August 20, 2008 is there some other javascript stopping it that code should have no problem or throw a php error if it fails to i think it could be a problem with your javascript code. but you haven't included it anywhere else on the page? that will stop it because you user require_once if it is used somewhere else then it will not show because it has already been required Scott. Link to comment https://forums.phpfreaks.com/topic/120583-wont-show-up/#findComment-621388 Share on other sites More sharing options...
Bullet Posted August 20, 2008 Author Share Posted August 20, 2008 I only required it once, and it only works on some pages and not others. Link to comment https://forums.phpfreaks.com/topic/120583-wont-show-up/#findComment-621413 Share on other sites More sharing options...
ratcateme Posted August 21, 2008 Share Posted August 21, 2008 i can't see a problem have you checked the source on the pages where i doesn't show to see if ti is in the source there could be some kind of html problem causing it not to show Scott. Link to comment https://forums.phpfreaks.com/topic/120583-wont-show-up/#findComment-621690 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.