View Full Version : including PHP generated array into .js file
03-20-2004, 01:28 PM
I have tried including the following inside the .js file:
but this doesn't seem to work.
I know the output of the php file is ok because when I paste its output into the .js file it works fine.
Thank you for any help.
03-20-2004, 03:04 PM
if your output cut & pasted works when accessed as in your script above then there is no reason that the method you are using should not work either.
03-20-2004, 03:08 PM
but if I paste the output, wouldn't a formatting problem show up there as well?
03-21-2004, 01:42 AM
03-21-2004, 01:05 PM
Your suggestion to use Mozilla was really helpful. I did find some errors. I still haven't got it to work, but I feel I will get there. Many thanks for looking at my problem.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.