thetadcat Posted November 22, 2007 Share Posted November 22, 2007 It seems like this should be simple. I have nested some tables and I want a column of buttons to show at the left side each time someone goes to a new page on the site. Everything is setup and the Include page shows fine in the preview window but when I look at it in the browser IE7 I just see the tables and not the included page. Obviously I'm doing something wrong. Here's the code: <body bgcolor="5b622c" text="72784a" vlink="#CC33CC" alink="#FF0000" leftmargin="0" topmargin="0"> <TABLE width=838 height="387" BORDER=0 ALIGN="center" CELLPADDING=0 CELLSPACING=0> <tr valign="top"> <td height="142" colspan=5 align="left"><div align="center"><img src="LRP_logo.jpg" width="628" height="142" align="absbottom"></div></td> </tr> <tr> <td width=174 height="232" align="left" valign="top" bgcolor="#d25600"> <table width="174" height="166" border=0 align="left" cellpadding=0 cellspacing=0 > <?php include ("leftnav.htm"); ?> </table> <td width="4"> </td> <td width="487" align="left" valign="top" bgcolor="cccc99"> <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0> <TR bgcolor="cccc99"> <TD colspan=3 VALIGN=TOP><div align="center"><img src="BannerAdTemplate.gif" width="468" height="60"></div></TD> </tr> <tr> <td width=212 bordercolor="d25600" bgcolor="cccc99"> Thanks for any help. cc Link to comment https://forums.phpfreaks.com/topic/78434-using-include-statement-in-nested-tables/ Share on other sites More sharing options...
trq Posted November 22, 2007 Share Posted November 22, 2007 Should work fine. This is a .php file? Link to comment https://forums.phpfreaks.com/topic/78434-using-include-statement-in-nested-tables/#findComment-396923 Share on other sites More sharing options...
thetadcat Posted November 23, 2007 Author Share Posted November 23, 2007 Yes this is a php file. Would it matter if it were html? This is really bugging me. Any suggestions on a good debug program? Thanks, cc Link to comment https://forums.phpfreaks.com/topic/78434-using-include-statement-in-nested-tables/#findComment-397248 Share on other sites More sharing options...
revraz Posted November 23, 2007 Share Posted November 23, 2007 If it was a .html file, then it wouldn't parse the php code. Yes this is a php file. Would it matter if it were html? This is really bugging me. Any suggestions on a good debug program? Thanks, cc Link to comment https://forums.phpfreaks.com/topic/78434-using-include-statement-in-nested-tables/#findComment-397251 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.