Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unexpected T_STRING error in newly created SSL Box


Sloane

Recommended Posts

Posted

HI

 

I have just added a box to show my security seal. The box just shows the security seal and links back to the Security website when clicked. I have duplicated code from other boxes to ensure it is formatted correctly but I am now getting an unexpected T_STRING error on line 24.

I am stumped as to how to correct it.

I intially made changes so I could get the same border formatting as my other boxes and have now mucked the whole thing up.

 

Any help would be greatly appreciated. Here's the code.

 

>

<!-- security //-->

<tr>

<td>

<?php

$info_box_contents = array();

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

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

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

'text' => '<a href="http://www.PositiveSSL.com" style="font-family: arial; font-size: 10px; text-decoration: none;">'<img src="images/PositiveSSL_tl_trans.gif" alt="SSL Certificate Authority" title="SSL Certificate Authority" border="0" /><br />SSL Certificate Authority</a>);

 

new infoBox($info_box_contents);

?>

</td>

</tr>

 

<!-- security_eof //-->

Posted

do NOT post the same question to different sections. I answered your question in the general support section but now i see you also posted it here. it is against the forum rules.

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted

Hi Ken and Nic

 

My apologies I was not aware I had posted it twice. I had mutliple tabs open last night.

I will rectify this in future.

Apologies for the error.

 

Thanks for the help and thanks for letting me know about the double post.

 

Sloane

Archived

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

×
×
  • Create New...