Hi, I have a bit of a weird one… I have a site which holds sub nav pages within a simple database. On 1 of these pages I have a fancybox script that loads profiles by clicking on thumbnails located on a page called whoweare.php… these profiles are external html files and when the thumbnail is clicked it simply loads this page i.e.
[CODE]<div id=”Chris-enlarge” style=”width:900px;height:495px;overflow:hidden; “>
<?php
$fd = fopen(“profiles/profile_chris.html”, r);$content = fread($fd, filesize(“profiles/profile_chris.html”));fclose($fd);echo $content;?>
</div>
Now this all works fine when the page holding the profiles are not in the database but because this page has sub navs I put all these sub navs in a database and load them through the main page i.e. whoweare.php?pg=profiles but now when you click the thumbnails they are all blank… I even just tried a simple <?php echo “hi” ?> and still blank?
Why would this happen?
Hope someone can help
Thanks
Ben