Php include problem

hi,

i’ve got a site using php inlculde just for a column on the left side of the page that i wanna add affiliate buttons to. Problem is when i add a button to it the button won’t show, its just an outline with a red ‘x’ in the top left corner. I know all the paths are correct but it wont work…

anyone know whats up with it?

thanks

do you have a url to it?

http://www.atreyuonline.cjb.net under where it says ‘Affiliates’

the url should be .com but everything is going wrong…i mean EVERYTHING :*(

well right around your javascript include file there is another part where you do head and meta tags again. Take those out. thats probly what is causing the problem.

sorry…:*( im a total retard when it comes to stuff like this, i’ve attached the files, couldnt have a look at it could you???

it’ll look abit crap cause i didn’t include the CSS sheets in the .zip just the 1’s you need. :slight_smile:

thanks…

I can’t right now. I have class until 6. Someone may be able to help between now and then. For now, go to your site and view the source, you will see that you have two sets of “head” and “meta” and “body” tags. i’m sure its because of the include…

your include file should look like this:


<?
print "<TABLE width=\"100\" height=\"33\" border=0 align=\"left\" cellPadding=0 cellSpacing=0>
      <TR> 
      <TD height=\"33\" align=\"left\" valign=\"top\"> <table width=\"90\" border=\"0\" cellspacing=\"0\">
          <tr> 
            <td width=\"88\" height=\"33\" align=\"left\" valign=\"top\"><p><font color=\"#000000\" size=\"1\" face=\"Tahoma\"><a href=\"http://36cf.digital-noise.net/\" target=\"_blank\"><img src=\"36crazyfists.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></font></p></td>
          </tr>
          <tr> 
            <td height=\"33\" align=\"left\" valign=\"top\"><a href=\"http://www.hopesfall.vze.com/\" target=\"_blank\"><img src=\"hopefall_btn.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>
          </tr>
        </table></TD>
    </TR>
</TABLE>";
?>