Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product_info.php on line 108


Michael44

Recommended Posts

Hi guys newbie dont know anything and really need help

 

Was trying to get rid of this product was added... etc looked at a few posts here and try to change it myself not good idea lost thumbnail image of products when try to restore original code after copying to word the whole code and pasting back and later get the error

 

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in line 108 of product_info.php

 

 

here is current code around and including what i changed

 

align=center>

<tr><td height=15></td></tr>

<tr><td class=ch4><?=$products_name?></td></tr>

<tr><td height=10></td></tr>

<tr><td><b>Item: </b> <?= $products_id; ?></td></tr>

<tr><td height=10></td></tr>

<tr><td width=290>

<?

if ($product_info['products_date_available'] > date('Y-m-d H:i:s'))

echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available']));

else

echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added']));

 

?>

</td></tr>

<tr><td height=10></td></tr>

<tr><td><b>Price: </b>  <span class=ml><?php echo $products_price; ?></span> </td></tr>[/b]

 

 

 

Thankyou anyone for help in advance

 

Cheers

Michael

Link to comment
Share on other sites

<tr><td height=15></td></tr>

<tr><td class=ch4><?=$products_name?></td></tr>

<tr><td height=10></td></tr>

<tr><td><b>Item: </b> <?= $products_id; ?></td></tr>

<tr><td height=10></td></tr>

<tr><td width=290>

Cheers

Michael

 

 

The line in red needs to be this

 

<tr><td class=ch4><?=$products_name; ?></td></tr>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...