Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can anyone see why my footer isn't


julianpuje

Recommended Posts

Posted

I think this is starting to be a "can't see the wood for the trees" moment :'(

I've added my column_right back into my new site and that works fine on my index and product_info pages, but the footer has disappeared from my product_info.php pages. I can't see for the life of me why not. Can somebody please take a look at the code and see what i've missed. It looks fine to me, so i must be looking too hard.

 

TIA

Julian

<!-- body_text_eof //-->
? ?<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php');
?>
<!-- right_navigation_eof //--> ? 
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //--></tr>
</table>
<br>
</body>
</html>
<?php
require(DIR_WS_INCLUDES . 'application_bottom.php'); 
?>

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Posted

Well, I see you're missing at least one close table, but I think most browsers would still try to render the page, so that may not be it.

 

Here you obviously have an open table, since you're starting a table cell. Then you open a new table:

<!-- body_text_eof //-->
  <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->

 

But you only close one table:

<!-- footer_eof //--></tr>
</table>
<br>
</body>
</html>

Contributions

 

Discount Coupon Codes

Donations

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...