title: Insert php variable in a href
body: <p>I am planning to insert a PHP variable which holds the directory path for a file stored on my Windows machine. How can I include this variable in the a <code>href</code> tag inside my php script such that when the user clicks this link it should be redirected to that particular folder and file.</p>
  
  <p>For ex: <code>$folder_path = 'C:\docs\test\file1.txt';</code></p>
  
  <p>Right now I have tried some different ways but with no success. I have also did some research on internet, but alas could not find a proper answer.</p>
  
  <p>If any one has an idea would be thankful if it can be shared.
  Thanks</p>