Guest Posted March 27, 2007 Posted March 27, 2007 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
vasttech Posted March 28, 2007 Posted March 28, 2007 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 ". osCommerce Knowledge Base osCommerce Documentation Contributions
Guest Posted March 31, 2007 Posted March 31, 2007 make sure you do not use the old osc filemanager to edit php files. Use a regular editor instead.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.