Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Privacy Policy & Conditions Returning Parse Error


j4y

Recommended Posts

Posted

Hello there,

 

http://www.uksupplementshop.co.uk is the site I'am having problems with, when I try and add a long privacy statement it comes up with a parse error and the same with conditions of use, it will take a few sentances but as soon as you put too much in it gives an error off, any ideas?

 

Parse error: syntax error, unexpected T_STRING in /home/uksuppl/public_html/includes/languages/english/privacy.php on line 18

 

Also,

 

http://uksupplementshop.co.uk/information.php?info_id=2

 

How would I change the info on that page, where would it be?

 

Thanks alot

*WhAt HaVe I GoTtA Do*

Posted

What's happening here is that the text is enclosed within a php text define - meaning two apostrophies, one at the start and one at the end.

 

So if you use apostrophies in the text you use you have to tell php to ignore it otherwise php will think it's all finished and then throw an error when something follows the apostrophy. So ---

 

Let's = wrong

Let\'s = right

 

Vger

Archived

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

×
×
  • Create New...