KirstyB
27 Feb 2008, 06:49 AM
Hi,
I hope I'm posting in the right place.......
I'm having problems with a website I am building which uses .php. I'm quite a newbie at .php so am using this site as a learning exercise.
I've built the site and uploaded it to my test server but when I view it both Internet Explorer 6+7 crashes. The site previews fine in both Firefox and Safari but not IE? I've posted here because I think it must be something to do with the .php I've used.
This is the code from index.php:
<?php
require_once ('head.php');
?>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// Your code here
});
</script>
</head>
<body>
<div id="wrapper">
<!-- Masthead Section -->
<div id="masthead">
<div id="logo">
</div>
<div id="navContainer">
<ul>
<li>We're with you every step of the way...</li>
<li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
<li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
<li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
</ul>
<?php
require_once ('navigation.php');
?>
</div>
</div>
<!-- Flash Section -->
<div id="flash">
</div>
<!-- Content Section -->
<div id="content_box">
<div class="bottom_left">
<div id="content_header">
<h2>Welcome...</h2>
<img src="images/content_image_marker.jpg" alt="image placemarker" />
</div>
<div id="content_text">
</div>
<div class="bottom_right">
</div>
</div>
</div>
<!-- Footer -->
<?php
require_once ('footer.php');
?>
The I'm sure the problem isn't anything to do with JQuery link I've also added as I tested without that and it still crashed. I validated my HTML and it all validates correctly so I don't understand.
You can view my site at:
http://www.admgroup.entadsl.com/cristal_clear/index.php
and if you view the source using Firefox it brings in the .php without any problems. Does anyon know why this is happening?
Thanks
Kirsty
I hope I'm posting in the right place.......
I'm having problems with a website I am building which uses .php. I'm quite a newbie at .php so am using this site as a learning exercise.
I've built the site and uploaded it to my test server but when I view it both Internet Explorer 6+7 crashes. The site previews fine in both Firefox and Safari but not IE? I've posted here because I think it must be something to do with the .php I've used.
This is the code from index.php:
<?php
require_once ('head.php');
?>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// Your code here
});
</script>
</head>
<body>
<div id="wrapper">
<!-- Masthead Section -->
<div id="masthead">
<div id="logo">
</div>
<div id="navContainer">
<ul>
<li>We're with you every step of the way...</li>
<li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
<li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
<li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
</ul>
<?php
require_once ('navigation.php');
?>
</div>
</div>
<!-- Flash Section -->
<div id="flash">
</div>
<!-- Content Section -->
<div id="content_box">
<div class="bottom_left">
<div id="content_header">
<h2>Welcome...</h2>
<img src="images/content_image_marker.jpg" alt="image placemarker" />
</div>
<div id="content_text">
</div>
<div class="bottom_right">
</div>
</div>
</div>
<!-- Footer -->
<?php
require_once ('footer.php');
?>
The I'm sure the problem isn't anything to do with JQuery link I've also added as I tested without that and it still crashed. I validated my HTML and it all validates correctly so I don't understand.
You can view my site at:
http://www.admgroup.entadsl.com/cristal_clear/index.php
and if you view the source using Firefox it brings in the .php without any problems. Does anyon know why this is happening?
Thanks
Kirsty