I am trying to pass reference to a pdf file to HTML object. If the file name is hard coded it works as in
<object class="pdf"
data="docs/DQ704.pdf"
width="800"
height="900">
</object>
but when I pass a php variable to data as follows I get an index of the /docs folder
<object class="pdf"
data="/docs/"<?php echo $brochure_name;?>
width="800"
height="900">
</object>
What should I do to make this work please.