Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Syntax error T String


cougarabc

Recommended Posts

Posted

Parse error: syntax error, unexpected T_STRING in /home/cougar5/public_html/catalog/includes/languages/english/index.php on line 13

 

I added some additional words to our introduction. I didn't do anything different when I added this from the last time, except add a couple sentances to a paragraph. Can you help please? Tell me what I did please, and how to fix it.

 

Thanks,

Julie

Posted

Look for apostrophes in the text. If you need to say It's, it should be written as It\'s. Also look for words you may have quoted using apostrophes and treat them the same way. The apostrophe is a php control character and you have to tell php to ignore it, with a backward slash, when you use it in your text. If that doesn't fix the problem, post the actual error and the file here and someone will look at it for you.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Look for apostrophes in the text. If you need to say It's, it should be written as It\'s. Also look for words you may have quoted using apostrophes and treat them the same way. The apostrophe is a php control character and you have to tell php to ignore it, with a backward slash, when you use it in your text. If that doesn't fix the problem, post the actual error and the file here and someone will look at it for you.

 

Jack

 

Thanks. I will look for that. What I posted WAS the actual error.

 

How can I get paragraphs? When I add the paragraphs in the .index.php, they don't come across in the page as paragraphs, but all bunched up???

Posted
Thanks. I will look for that. What I posted WAS the actual error.

 

How can I get paragraphs? When I add the paragraphs in the .index.php, they don't come across in the page as paragraphs, but all bunched up???

 

 

Thank WORKED for the Syntax error - YIPPEE!!

 

Thank you so much.

Posted
How can I get paragraphs? When I add the paragraphs in the .index.php, they don't come across in the page as paragraphs, but all bunched up???
You need to use html or css coding. For example
<p>paragraph 1</p>
<p>paragraph 2</p>

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...