May 29, 200818 yr Page: HERE Validation: HERE The problem I am having with the following code is that adding " " around javascript & text/javascript on the second echo line gives me even more errors... Really not sure where to go from here to solve all of these errors (all to do with the following script code). <?PHP echo '<script src="prototype.js" type="text/javascript"></script>'; echo "<script language=javascript type=text/javascript> new Ajax.PeriodicalUpdater('bannerboxContainer_Text', './weather/final_clientraw_parser.php', { frequency: 60 }); </script>";?>
May 29, 200818 yr Always the way isn't it! The moment you ask for help, you figure it out yourself . Valid as below & seems to be working; <?PHP echo '<script src="prototype.js" type="text/javascript"></script>'; echo '<script language="javascript" type="text/javascript"> new Ajax.PeriodicalUpdater("bannerboxContainer_Text", "./weather/final_clientraw_parser.php", { frequency: 60 }); </script>';?>
Create an account or sign in to comment