moisea Posted August 20, 2005 Posted August 20, 2005 hello there! i am trying to insert a mouseoverbox witjin my codes using css but i dont manage to get it right. i keep getting the following error message; Parse error: parse error, expecting `')'' in c:\program files\easyphp1-8\www\upfrontec.com\catalog\includes\modules\new_products.php on line 34 here is my code with the added ones in red.... if ($col == 0) { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="49%" valign="top"', 'text' => '<table [COLOR=red]summary="test"[/COLOR] width="99%"><tr><[COLOR=red]td class="test" onmouseover="this.className='test2'" onmouseout="this.className='test'"[/COLOR] width="50%"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td><td width="50%"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</td></tr></table>'); } else { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="49%" valign="top"', [B] [COLOR=green]line34 here[/COLOR][/B] 'text' => '<[COLOR=red]table summary="test" [/COLOR]width="99%"><tr><td [COLOR=red]class="test" onmouseover="this.className='test2'" onmouseout="this.className='test'" [/COLOR] width="50%"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td><td width="50%"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</td></tr></table>'); } can someone please assist, don't find where/how to put `')'' on these codes without messin' em up. many thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.