I'm having a problem with text formatting properly when I use a PHP script in the middle of an HTML page. I've linked in a stylesheet in the HTML header:
Code: Select all
<link href="../style.css" rel="stylesheet" type="text/css" />
and it works fine until I add PHP into the mix. At the moment the code I'm using is:
Code: Select all
<td width="465" valign="top" class="main">
<?php require("listreviews.php"); ?>
</td>
but the text is showing using the default font and link colours. The script
listreviews.php is pulling some information from a database and then displaying it using echo. I've also tried replacing the
require line with a simple echo statement and the text still shows up wrong. Is there something simple I'm overlooking? The script seems to be working fine except for causing the formatting to mess up.
This is the page in question:
http://mlhogan.com/test/read/reviews.php