Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add Mouse Over Graphic Links with Session ID Error


ultan

Recommended Posts

Posted

I have been trying to follow this article.

It looks handy enough but im running into a php error every time I try to impliment it.

 

Parse error: syntax error, unexpected '/', expecting ')' in /home/waurhgyq/domains/sswholesale.ie/public_html/store/includes/sts_templates/test/home.html on line 130

 

My line of code is here

<?php echo '<a href="' . tep_href_link(/store/index.php) . '" onMouseOver="MM_swapImage(\'home\', \'\', \'images/home-over.gif\', 1)" onMouseOut="MM_swapImgRestore()">' . tep_image(DIR_WS_IMAGES . 'images/home.gif', 'Home', null, null, 'name="home"') . '</a>'; ?>

 

Any ideas why there is a syntax error. Its a direct copy and paste from the article Would it have to do with the php version?

Archived

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

×
×
  • Create New...