martyjquinn Posted July 22, 2008 Share Posted July 22, 2008 Hi, I am new but have a basic knowlege of some code. Here is my question. I would really appeaciate any help. On my website, I have figured out how to edit column_left.php and include a new box called sample from a file called sample.php. What I want to do is call up sample.php as a box with a link to PDF file. The PDF is a sample of what I am selling (downloadable random exercises for accounting students). From a file called amazon.php, I grabbed all the code, tweaked the header etc. But I am stuck on this bit: $info_box_contents = array(); $info_box_contents = array('align' => 'center', 'text' => '<iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=accountingexe-21&o=2&p=8&l=as1&asins=1405893249&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>'); new infoBox($info_box_contents); I know the code starting at (in bold above) 'text' => is the link to amazon (which I altered myself). How can I put a simple file link here. I have tried this <a href=sample.pdf> , but that is too simple I guess. Any help gratefully received. Martin Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.