title: I want to retrieve pdf file display on web browser
body: <p>I had created database with 2 fields filename and path 
  filename as dwm.pdf and path as C:\xampp\htdocs\p1\testing.
  I just want to display pdf file on link click with the help of path store in database.</p>
  
  <pre><code>&lt;?php
  $con = mysqli_connect("localhost","root","billa","pdf_trial") or die
  ("Couldn't connect");
  echo "Connected";
  $q = "SELECT path FROM pdffiles WHERE filename =dwm"
  $r = mysqli_query($q);
  $row = mysqli_fetch_assoc($r);
  header('Content-type: application/pdf');
  
  ?&gt;
  </code></pre>
  
  <p>i want to display pdf file on web by accessing path which i has store in mysql.
  how i can do this</p>