Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

products_attributes.php


finnport

Recommended Posts

This is just an off the cuff guess, but I'd change the line you have emphasized to this:

 

else {

Given the error message you receive, and the fact there is a "}" just a few lines previous to this line in question.

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

?php

?>
               </table></td>
             </tr>
<?php
[color="#FF0000"]  else {[/color][size="6"][/size]
   if (isset($HTTP_GET_VARS['option_order_by'])) {
     $option_order_by = $HTTP_GET_VARS['option_order_by'];
   } else {
     $option_order_by = 'products_options_id';
   }
?>

This is just an off the cuff guess, but I'd change the line you have emphasized to this:

 

else {

Given the error message you receive, and the fact there is a "}" just a few lines previous to this line in question.

 

So now the lines are looking like this..

But I got

parse error, unexpected T_ELSE in

Link to comment
Share on other sites

OK.

 

Put the "}" back where it was, and please post the whole file between "code" tags.

 

It's usually easier to follow that way.

:lol:

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...