Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error


z0rr0

Recommended Posts

I have this error :

 

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in D:\Program Files\EasyPHP 2.0b1\www48\includes\languages\romanian\products_new.php on line 16

 

 

 

and here is the php file:

 

<?php

/*

$Id: products_new.php,v 1.3 2002/11/19 01:48:08 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Produse Noi');

define('HEADING_TITLE', 'Produse Noi'');

 

define('TEXT_DATE_ADDED', 'Data Intrarii:'); // line 16

define('TEXT_MANUFACTURER', 'Producator:');

define('TEXT_PRICE', 'Pret:');

?>

 

I am new to this so please help

Cumparaturi4all

Link to comment
Share on other sites

Your problem is 2 single quotes on line 14. You need only one :) :

 

<?php
/*
$Id: products_new.php,v 1.3 2002/11/19 01:48:08 dgw_ Exp $

osCommerce, Open Source E-Commerce Solutions
[url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

Copyright © 2002 osCommerce

Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Produse Noi');
define('HEADING_TITLE', 'Produse Noi[b][color="#FF0000"]''[/color][/b]);

define('TEXT_DATE_ADDED', 'Data Intrarii:'); // line 16
define('TEXT_MANUFACTURER', 'Producator:');
define('TEXT_PRICE', 'Pret:');
?>

jon

It's all just ones and zeros....

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...