Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I have trouble trying to fill in about_me.php & conditions.php


Danny74

Recommended Posts

Every time I add more than one line of html text in either page, I get an error message. Not sure what I am doing wrong. I add the text between the commas where it says: THIS IS WHERE I PUT MY INFO

 

define('TEXT_INFORMATION', 'THIS IS WHERE I PUT MY INFO');

 

After I plug in the html code I constructed in Dreamweaver CS3, I save the file. But when I open it, it says:

Parse error: syntax error, unexpected T_STRING in /home/danny/public_html/includes/languages/english/about_us.php on line 7

 

If I put in one line of text, it works. What's going on here?

Link to comment
Share on other sites

Danny,

 

Be careful when using Dreamweaver or other graphic coders as they usually automatically add syntax not necessary and unreadable in the text files.

 

The Conditions, Privacy and shipping files are generally for text only.

 

 

Chris

Link to comment
Share on other sites

I thought it might be the culprit. However, if I just use plain text, I get a very long string of text on a single line. Should I incorporate basic html to format my text into line breaks, paragraphs, etc.?

 

Thanks for responding.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...