How to write js file using php?
<p>How can I edit a javascript file using php. I want to change the file path dynamiacally is it possible to do with php. Please help me?</p>

<p>test.js is my file. this is for display images on frontend</p>

<p>from admin panel me create one folder named flower. then I will create one flower named folder 
and copy this test.js to that folder. after that I have to edit the file path of test.js file. how can I do that?</p>
