zpupster Posted July 26, 2010 Posted July 26, 2010 hello, in left column.php i am trying to insert a bit of html in php with echo. it is pushing my bottom section to the right --http://www.comtalkinc.com/store/ below is the code: <?php /* $Id: column_left.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // {{ buySAFE Module if (MODULE_BUYSAFE_BUYSAFE_STATUS == 'True' && tep_not_null(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) && MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA != '-- none --' && $buysafe_result['IsBuySafeEnabled'] != 'false' && !$buysafe_result['faultstring']) echo "<!-- buySAFE //-->\n<tr><td align=\"center\"><script src=\"" . MODULE_BUYSAFE_BUYSAFE_ROLLOVER_URL . "\"></script><span id=\"BuySafeSealSpan\"><script type=\"text/javascript\">WriteBuySafeSeal('BuySafeSealSpan', '" . MODULE_BUYSAFE_BUYSAFE_SEAL_TYPE . "', 'HASH=" . urlencode(MODULE_BUYSAFE_BUYSAFE_SEAL_AUTHENTICATION_DATA) . "');</script> </span></td></tr>\n<!-- buySAFE_eof //-->\n"; // }} if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } Echo "<table><tr><td>stuff here</td></tr>"; Echo "<tr><td>and here</td></tr></table>"; require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?>
Guest Posted July 26, 2010 Posted July 26, 2010 Craig, Try removing the <table> </table> tags and start with the <tr> tag and end with the </tr> tag. The column is a series of nested tables, creating a new on on the end will not work. This is only a guess, but worth a shot I think. Chris
zpupster Posted July 26, 2010 Author Posted July 26, 2010 bingo!! DunWeb. thank you, for making my life easier. craig
zpupster Posted July 26, 2010 Author Posted July 26, 2010 if you knnow off the top of your head where are those table tags? craig
Recommended Posts
Archived
This topic is now archived and is closed to further replies.