External Javascript In Php Files

hi2all<br /><br />i was talking about my problem in this topic:<br /><a href="http://www.totalchoicehosting.com/forums/index.php?showtopic=9014" target="_blank">Unable To Access Files In Cgi-bin</a><br /><br />i came to the conclusion that the only way to add external javascript to your php page is <? include () ?>. Regular html <script src=http://www.totalchoicehosting.com/forums/lofiversion/index.php/""></script> - doesn't work.<br /><br />am i right?<!--content-->
When you drop out of php<br />try <br /><script LANGUAGE="javascript" TYPE="text/javascript" SRC="http://www.totalchoicehosting.com/forums/lofiversion/index.php/scrolling.js"></SCRIPT><br /><br />or while in php<br /><?php<br />print( '<script LANGUAGE="javascript" TYPE="text/javascript" SRC="http://www.totalchoicehosting.com/forums/lofiversion/index.php/scrolling.js"></SCRIPT>' );<br />?><!--content-->
woooot it works, i had errors in different code, there was no problem with js.<br />thanx much<!--content-->
Glad to hear it worked out Thumbs Up<!--content-->
 
Top