Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected T_STRING


artonsilk

Recommended Posts

Hello

Please help me, I'm trying to write the text that goes on the first page of the website. I keep getting the syntax error, unexpected T_STRING line.

Can anyone tell me what's wrong?? with my limited html knowledge I've done it right, and it works in an html page, but it doesn't in index.php

Help!

 

define('TEXT_MAIN', '<b>Art on Silk, is just that, hand painted art on silk. I produce a large selection of painted silk, which I then make into, scarves, ties, purses and handbags, pictures, light catchers, bookmarks, keyrings and greetings cards. . . . . . A unique collection of quality silk using a myriad of colours, ready to wear, use, wash, hang. . . . . .</b><br><br>If you wish to see an array of items I have painted and find out a little more how I paint on silk,
<a href="http://www.artonsilk.co.uk/home.html/"><u> click here </u></a>to visit www.artonsilk.co.uk/home.html<br><br>Please don't hesitate to contact me, via the form, if you have an enquiry.<br><br>The shop website should always be up to date, but there may be occasions when it isn't. Items may have been placed in an exhibition or I may be at a craft fair . . .<br>EVENT - <br>DATE - May 08<br><a href="http://www.artonsilk.co.uk/events.html"><u>Click here <u/></a>for more details.');

artonsilk

Link to comment
Share on other sites

define('TEXT_MAIN', '<b>Art on Silk, is just that, hand painted art on silk. I produce a large selection of painted silk, which I then make into, scarves, ties, purses and handbags, pictures, light catchers, bookmarks, keyrings and greetings cards. . . . . . A unique collection of quality silk using a myriad of colours, ready to wear, use, wash, hang. . . . . .</b><br><br>If you wish to see an array of items I have painted and find out a little more how I paint on silk,
<a href="http://www.artonsilk.co.uk/home.html/"><u> click here </u></a>to visit www.artonsilk.co.uk/home.html<br><br>Please don\'t hesitate to contact me, via the form, if you have an enquiry.<br><br>The shop website should always be up to date, but there may be occasions when it isn\'t. Items may have been placed in an exhibition or I may be at a craft fair . . .<br>EVENT - <br>DATE - May 08<br><a href="http://www.artonsilk.co.uk/events.html"><u>Click here <u/></a>for more details.');

Need the \ before the ' in don't and isn't

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...