Danny74 Posted March 3, 2009 Share Posted March 3, 2009 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 More sharing options...
Guest Posted March 3, 2009 Share Posted March 3, 2009 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 More sharing options...
Danny74 Posted March 3, 2009 Author Share Posted March 3, 2009 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 More sharing options...
Guest Posted March 3, 2009 Share Posted March 3, 2009 Danny, Yes, basic html tags are required for formatting. <p></p> <br> etc etc Chris Link to comment Share on other sites More sharing options...
lastblackjellybean Posted March 3, 2009 Share Posted March 3, 2009 Chances are you have an unescaped apostrophe on line 7 Link to comment Share on other sites More sharing options...
Danny74 Posted March 12, 2009 Author Share Posted March 12, 2009 Thank you so much for all your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.