link js file in php

Solutions on MaxInterview for link js file in php by the best coders in the world

showing results for - "link js file in php"
Regina
09 Jun 2020
1PHP is completely irrelevant for what you are doing. The generated HTML is what counts.
2
3In your case, you are missing the src attribute. Use
4
5 <script type="text/javascript" src="file.js"></script>