Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
spongebobSP

Adding Php to STS template

Recommended Posts

Hi,

 

I'm just tryin to add a php script to my sts template, but I get this error:

 

 

Parse error: syntax error, unexpected $end in .../includes/sts_templates/full/index.php.html on line 88

 

I have read that it is posible to put php in with the templates, Have I got the wrong version I wonder?

Share this post


Link to post
Share on other sites

That error means you have unmatched { and } in your PHP code.

 

You need to have an equal number of each in your active code.

Edited by germ

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 >

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×