PDA

View Full Version : PHP include problem in IE



joso
December 11th, 2008, 07:01 PM
Hi there,

This is probably something really simple and I'm probably missing it but I've just done a simple website for my local angling club and I've set up the cutenews as the news posting program. The problem is with the news page which is here:

http://www.predator-uk.net/naa/index.php?p=news

If you look at it in firefox it works fine, but nothing at all displays in Internet Explorer for some reason. All i've got in the news page is :
<?php include('news/show_news.php'); ?> which seems to be what is doing it. I've tried including other pages and it works fine but for some reason it won't include the page to display the news?

Any ideas

Thanks

evilcoathanger
December 11th, 2008, 07:38 PM
Got it. In your hard coded style sheets, you have this:


<style type="text/css">
<!--
.submenu { font-size: 12px;}

.blue { font-weight: bold; }

.bold { font-weight: bold;}

</style></head>


Remove this code and we will go from there...

<!--

joso
December 11th, 2008, 08:15 PM
thats done the trick I believe. Thought it was something simple, didn't think it'd be that simple though lol.

Thanks very much.

evilcoathanger
December 11th, 2008, 08:30 PM
Just viewed the site in IE7, works like a charm!