How to pass a PHP variable to a Javascript? -


I am trying to load a file that is being uploaded using PHP scripts. I uploaded the file Assigned a variable for the location of $ tra = basename ($ _FILES ['userfile'] ['name']; and tried to give it as input to the Java script < / P>

  

  

Comments