User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 425,895 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,911 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 313 | Replies: 1
Reply
Join Date: Jul 2008
Posts: 1
Reputation: mushi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mushi mushi is offline Offline
Newbie Poster

T_STRING

  #1  
Jul 3rd, 2008
Parse error: syntax error, unexpected T_STRING in /www/110mb.com/m/u/s/h/i/2/1/9/mushi2195/htdocs/includes/languages/english/index.php on line 15

<?php
/*
  $Id: $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2007 osCommerce

  Released under the GNU General Public License
*/

define('TEXT_MAIN', 'WELCOME TO M M TECH. <b>Our aim to provide cheap products at the best prices.</b>.  <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>About MMtech.com.au</b><br><br>We are an australian based company.Our office is in Sydney. We are also 100% australian owned. All our jobs are also based in australia.<br><br>We aim to provide IT related products at cheap prices.We try to give consumer the best price possible.<br><br></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>Payment methods accepted. </b><br><br>We accept various payment methods.<br><br>They include bank deposit, money order or cheque.<br><br>If paying with Bank deposit we will email a code to put as reference, as this helps us tracking payments. <br><br>If paying with money order or  cheque we will email details after you have purchased item.<br><br>Emails are sent manually so it could be some time. It usually will be in the first few hours.  <br><br>
</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td><td class="main" valign="top"><b>Support</b><br><br>IF you need any help email us at idealbusinesstraders@hotmail.com<u></table> 
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
  define('HEADING_TITLE', 'Let\'s See What We Have Here');
  define('TABLE_HEADING_IMAGE', '');
  define('TABLE_HEADING_MODEL', 'Model');
  define('TABLE_HEADING_PRODUCTS', 'Product Name');
  define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
  define('TABLE_HEADING_QUANTITY', 'Quantity');
  define('TABLE_HEADING_PRICE', 'Price');
  define('TABLE_HEADING_WEIGHT', 'Weight');
  define('TABLE_HEADING_BUY_NOW', 'Buy Now');
  define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
  define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
  define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
  define('TEXT_SHOW', '<b>Show:</b>');
  define('TEXT_BUY', 'Buy 1 \'');
  define('TEXT_NOW', '\' now');
  define('TEXT_ALL_CATEGORIES', 'All Categories');
  define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
  define('HEADING_TITLE', 'What\'s New Here?');
} elseif ($category_depth == 'nested') {
  define('HEADING_TITLE', 'Categories');
}
?>
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2006
Location: Remunj
Posts: 207
Reputation: pritaeas is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 25
pritaeas's Avatar
pritaeas pritaeas is offline Offline
Posting Whiz in Training

Re: T_STRING

  #2  
Jul 3rd, 2008
Your first define seems to be incorrect.

define('TEXT_MAIN', 'WELCOME TO M M TECH. <b>Our aim to provide cheap products at the best prices.</b>.'
        . ' <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' 
		. tep_image(DIR_WS_IMAGES . 'default/1.gif') 
		. '</td><td class="main" valign="top"><b>About MMtech.com.au</b><br><br>We are an australian based company.'
		. 'Our office is in Sydney. We are also 100% australian owned. All our jobs are also based in australia.<br><br>'
		. 'We aim to provide IT related products at cheap prices.We try to give consumer the best price possible.<br><br>'
		. '</td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') 
		. '</td><td class="main" valign="top"><b>Payment methods accepted. </b><br><br>We accept various payment methods.'
		. '<br><br>They include bank deposit, money order or cheque.<br><br>If paying with Bank deposit we will email a '
		. 'code to put as reference, as this helps us tracking payments. <br><br>If paying with money order or  cheque we '
		. 'will email details after you have purchased item.<br><br>Emails are sent manually so it could be some time. It '
		. 'usually will be in the first few hours.  <br><br></td></tr><tr><td class="main" valign="top">' 
		. tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td><td class="main" valign="top"><b>Support</b><br><br>IF you '
		. 'need any help email us at idealbusinesstraders@hotmail.com<u></table>');
"Premature optimization is the root of all evil."
Donald Knuth / Tony Hoare
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 7:25 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC