Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: Please help - New to PHP


BlessIsaacola

Recommended Posts

Posted

I got the error pasted below when I created a new box to displayed livehelp. The code for livehelp.php is copied below. Can you please help me out to figure out how I can link the content of a box to my livehelp.

 

Parse error: parse error in /home/clevers/public_html/catalog/includes/boxes/livehelp.php on line 15

 

Here is the code:

 

<?php

?>

<!-- LIVEHELP Box //-->

         <tr>

           <td>

<?php  

 $info_box_contents = array();  

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

                              'text'  => BOX_HEADING_LIVEHELP

                             );  

 new infoBoxHeading($info_box_contents, false, false);  

 

 $info_box_contents = array();  

 $info_box_contents[] = array('align' => 'center',  

                              '<script language="javascript" src="http://www.clevershoppers.com/livehelp/livehelp_js.php?department=2"></script>. '</a><br>'

                              );

 

                                                           new infoBox($info_box_contents);

?>

</td></tr>

Contributions:

STS

Header Tags

Ebay Auctions

Ebay Auction Sales Manager

Html Wysiwyg Editor

Ultrapics

Paypal Cart IPN

Info Pages Unlimited

Shop By Price

Archived

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

×
×
  • Create New...