PDA

View Full Version : HTML code for Counter



entropy
08-25-2004, 10:37 PM
Ok, now that I have the counter working, how do I get it to display like your home page. I trying to add it to my index page of my site but am confused on how to add the needed code to make it display or how it pulls the info from the php page. I reviewed your source on the home page and it did not make any since. Please advise. I have included my website to give you an idea of what I am trying to do.
Columbus AIP (http://www.colaip.org)

Eric
09-03-2004, 01:44 PM
I took a quick look at your page, specifically checking the location of the counter code. I see it above the opening <html> tag, and wonder if that is the problem. Trying moving it down into the page itself, perhaps right above the <TD width=2 back...> tag. By the way, it looks like you are missing a closing </TD> tag (actually, missing a few), as I see no closing tag preceeding the aforementioned <TD width=2 back...>.

Your code:

COLAIP also serves as the voice of Internet professionals and industry
corporations before the public, press, and within the online community
on issues shaping the future of the Internet.
<TD width=2 background=assets/dotted.line.gif></TD>
<TD vAlign=top width=365>
<!-- Membership Column -->
<H2>membership</H2>

My suggestion:

COLAIP also serves as the voice of Internet professionals and industry
corporations before the public, press, and within the online community
on issues shaping the future of the Internet.
<p>
<?php include "/counter/counter.php" ?>
</p>
</td>
<TD width=2 background=assets/dotted.line.gif></TD>
<TD vAlign=top width=365>
<!-- Membership Column -->
<H2>membership</H2>

You could also use <span></span> or <div></div>, according to your preference.