Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index.php code on line 13 & 14


Guest

Recommended Posts

I have messed up the code on line 13 & 14, can anyone help and tell me what it should say. This is what is says now. Any help will be appreciated.

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define(\'TEXT_MAIN\', \'\');

<b>..</b><br><br><table border="0" width="100%" cellspacing="5"

 

Thanks

Link to comment
Share on other sites

define('TEXT_MAIN', '<b>..</b><br><br><table border="0" width="100%" cellspacing="5"');

 

You don't escape single quotes that are required (i.e. the ones around the TEXT_MAIN and the ones around the definition itself for TEXT_MAIN. All other single quotes get escaped (\') if they fall between one of those sets of quotes. Notice the single quote at the end before the ) and after the ".

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...