lparks Posted January 16, 2005 Posted January 16, 2005 I added a one line link to my page and now I'm receiving a parse error. Here is the error. Parse error: parse error, unexpected '<' in c:\admin\includes\boxes\reports.php on line 31 And here is the code Line 31 being the code added (the line near the end of the page) <a href="'" . tep_href_link(FILENAME_STATS_PRODUCTS_NOTIFICATIONS, '', 'NONSSL') . '"' class="menuBoxContentLink">Prod Notifications</a> <?php /* ?$Id: reports.php,v 1.4 2002/03/16 00:20:11 hpdl Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2002 osCommerce ?Released under the GNU General Public License */ ?> <!-- reports //--> ? ? ? ? ?<tr> ? ? ? ? ? ?<td> ?<?php ?$heading = array(); ?$contents = array(); ?$heading[] = array('text' ?=> BOX_HEADING_REPORTS, ? ? ? ? ? ? ? ? ? ? 'link' ?=> tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('selected_box')) . 'selected_box=reports')); ?if ($selected_box == 'reports') { ? ?$contents[] = array('text' ?=> tep_admin_files_boxes(FILENAME_STATS_PRODUCTS_VIEWED, BOX_REPORTS_PRODUCTS_VIEWED) . ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? tep_admin_files_boxes(FILENAME_STATS_PRODUCTS_PURCHASED, BOX_REPORTS_PRODUCTS_PURCHASED) . ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? tep_admin_files_boxes(FILENAME_STATS_CUSTOMERS, BOX_REPORTS_ORDERS_TOTAL)); ?} ?$box = new box; ?echo $box->menuBox($heading, $contents); ?<a href="'" . tep_href_link(FILENAME_STATS_PRODUCTS_NOTIFICATIONS, '', 'NONSSL') . '"' class="menuBoxContentLink">Prod Notifications</a> ??> ? ? ? </td> ? ? ? ? ?</tr> <!-- reports_eof //-->
Recommended Posts
Archived
This topic is now archived and is closed to further replies.