cutiesweetie Posted November 8, 2007 Posted November 8, 2007 Hi All, i would like to add 2 gif files as below. But i have try many times to add in the codes but every time bump into error... i want to add in the mb2u.gif (already added but donno how to add a link to it), and pbb.gif just below the mb2u.gif and create a link to it too. http://img258.imageshack.us/img258/9016/ywastejc6.png here is my code at column_left.php <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ 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'); } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> <tr> <td> <?php echo tep_image(DIR_WS_IMAGES . 'mb2u.gif'); ?> </td> </tr>
FIMBLE Posted November 8, 2007 Posted November 8, 2007 Hi All, i would like to add 2 gif files as below. But i have try many times to add in the codes but every time bump into error... i want to add in the mb2u.gif (already added but donno how to add a link to it), and pbb.gif just below the mb2u.gif and create a link to it too. http://img258.imageshack.us/img258/9016/ywastejc6.png here is my code at column_left.php <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ 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'); } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> <tr> <td> <?php echo tep_image(DIR_WS_IMAGES . 'mb2u.gif'); ?> </td> </tr> hello, why not use HTML Tags <img src="mb2u.gif" width="" height="" border="0" alt=""> Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
cutiesweetie Posted November 9, 2007 Author Posted November 9, 2007 hello, why not use HTML Tags <img src="mb2u.gif" width="" height="" border="0" alt=""> hi, how to i actually use this and create a link for this .gif?? sorry, i am really new
Recommended Posts
Archived
This topic is now archived and is closed to further replies.