Craig no luck with that one
The major problem is that the file that calls the javascript file (created by php ) is itself a .js file therefor it uses
<SCRIPT LANGUAGE='JavaScript1.2' SRC='HM_Arrays.js' TYPE='text/javascript'></SCRIPT>
And the only way of creating the array in my php file was to put <script> tags around the output to prevent it from being displayed to the screen.
I have successfully created the javascript array via the php file but how on earth do i get it to write without putting the <script> tags around the output?
As you'd expected the caling page complains of an error due to the instance of
<script language="javascript"> at the top of the php file.
any help would be greatfully received
thanks
Gary Mailer