[thelist] includes

Russell Griechen russgri at bellsouth.net
Mon Feb 10 16:52:01 CST 2003


--
[ Picked text/plain from multipart/alternative ]
ShugMiller wrote:
top scripts not closed
page is parsed as javascript because top scripts are not closed ie  </script>
<?php
---
Now:
How do I close this script that calls the javascript and css style tags?
Website: http://sportsmenafield.com/index.php
shows a blank page but source says the includes are being written. but...

this code indicates that the script tag is not closed in the bottom code.
Here is the indication...
<link href="stylesheet01.css" ##TRUNCATED CSS LINK## >
<link href="stylesheet02.css" ##TRUNCATED CSS LINK## >
<script src="script01.js" ##TRUNCATED SCRIPT TAG##>
<script src="script02.js" ##TRUNCATED SCRIPT TAG##>


/* -------------------------------------------------------------------
   first 3 vars called by fileHead.inc
------------------------------------------------------------------- */
   // title of this page:
   $title='home';

   // js file(s) to write:
   $js  = array('script01.js','script02.js');

   // css file(s) to write:
   $css  = array('stylesheet01.css','stylesheet02.css');

 include($DOCUMENT_ROOT."/inc_fileHead.php");

?>

How do I close these script tags that call my js and css files?

Russell Griechen

--




More information about the thelist mailing list