Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php and html?


laur0406

Recommended Posts

Posted

I have added the products to my store, and now would like to edit .../includes/languages/english/index.php. Am I able to edit this using HTML? I tried already, and then the page loads with an error.

 

If I am able to, what steps should I use to avoid errors?

Posted

OK, so I figured out why I got the error messages. It's because I have used apostrophe's in the text when they were part of the code. So, my new question is: how do I go about adding an apostrophe to a word for example: "Welcome to store's online shop!"

 

Thanks :)

 

P.S. For some reason, I am not able to edit my original post.

Posted
OK, so I figured out why I got the error messages. It's because I have used apostrophe's in the text when they were part of the code. So, my new question is: how do I go about adding an apostrophe to a word for example: "Welcome to store's online shop!"

 

Thanks :)

 

P.S. For some reason, I am not able to edit my original post.

You have to do what's called 'escaping' them, meaning you add a backslash (\) right before them, so that "This is something's html code" becomes "This is something\'s html code"...

 

Richard.

Richard Lindsey

Posted
You have to do what's called 'escaping' them, meaning you add a backslash (\) right before them, so that "This is something's html code" becomes "This is something\'s html code"...

 

Richard.

Fabulous, thanks! :)

Archived

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

×
×
  • Create New...