: ok
: please have a look at this ...
:
:
http://www.chezjeff.net/file_archive/weirdsymbol2.bmp
:
: the symbol is right above 'Entries under the category ...'.
: this is part of dispcategory.php?cat=15
:
: ******************BEGIN********************
:
: <tr><td valign="top" align="left">
: <p class="title">Blog<br /> </p></td></tr>
: <tr><td align="left" valign="top">
:
: <?php
:
: /* copy the query string */
: $catnum = $_GET["cat"];
:
: if ($catnum == "whatis")
: include('whatis.htm');
: else {
: if ((is_finite($catnum) == 1 ) && ($catnum >= 0)) {
: /* check if the query string is valid (numeric and positive) */
: $file = fopen($catnum.".txt", "r");
: /* opens the file corresponding to $catnum
: $nEntry = fgets($file);
: if ($nEntry != 0) { /* check if the category has entry(ies) under it */
: $n = 0;
: while ($n != $nEntry) {
: /* read all the contents in the file */
: $entrytitle[$n] = fgets($file);
: $entryurl[$n] = fgets($file);
: $n += 1;
: }
: fclose($file);
: $catn = $catnum;
: include('catindex.php');
: /* write the content using HTML formatting */
: echo "<p align=left class=subj>Entries under the category ".$catname."</p>";
: echo "<p align=left>";
: $n = 0;
: while ($n != $nEntry) {
: echo '<a target=_top href='.$entryurl[$n].'>'.$entrytitle[$n].'</a><br />';
: $n += 1;
: }
: } else {
: echo '<p> </p><p align=left>No entries are under this category.</p>';
: }
:
: } else {
: /* this 'else' corresponds to 'if ($catnum == "whatis") ' */
: echo '<p> </p><p align=left>Invalid query string. Please verify.</p>';
: }
: }
: ?>
: </td>
:
: *******************END*************************
:
: and this is the content of 15.txt
:
: *******************BEGIN***********************
:
: 1
: September 1, 2006 - Official Launch
:
http://www.chezjeff.net/blog/admin/entry.php?id=6
:
: ********************END************************
:
:
OK, this is what I would recomend...
DEBUG...
Insert a echo "<!-- -->"
Before and after the wierd chars.
Try to isolate where it comes from.
This is what I could find in the output, it doesn't corespond to your code but it's close...
<p class="title">Blog</p></td></tr>
<tr><td align="left" valign="top">
<span id="e7"></span>?
<p class="subj">First of September</p>
If you manage to isolate it, like this
<p class="title">Blog</p></td></tr>
<tr><td align="left" valign="top">
<span id="e7"></span>
<!-- -->
?
<!-- -->
<p class="subj">First of September</p>
You could as a last resort do like this:
<p class="title">Blog</p></td></tr>
<tr><td align="left" valign="top">
<span id="e7"></span>
<!--
?
-->
<p class="subj">First of September</p>
But I think you will find out where the problem lies before that is necesary.