Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add Link Outside osCommerce


caryne444

Recommended Posts

Hi all,

I've created a new box and added one external link outside of osCommerce. It works.

Now I added a second link and it doesn't work.

Help me find the error...pretty please?

 

ERROR MESSAGE:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/afrikal1/public_html/gaming/includes/boxes/our_albums.php on line 18

 

 

CODE

<?php

/*

$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

Copyright © 2003 osCommerce

Released under the GNU General Public License

*/

?>

<!-- my new box //-->

<?php

$info_box_contents = array();

//$info_box_contents[] = array('text' => BOX_HEADING_OUR_ALBUMS);

//new infoBoxHeading($info_box_contents, false, false);

// start of code to place link inside category box

$info_box_contents[] = array('align' => 'left', 'text' =>

'<a href="http://www.turnovertrading.com/weddingalbum" target="_blank">Jadrix Wedding Albums</a>'

 

'<a href="http://www.turnovertrading.com/baby" target="_blank">Jadrix Baby Albums</a>');

 

// end of code to place link inside category box

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...