Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ERROR: product_info.php


katiallo

Recommended Posts

Posted

Hi all

 

 

Error when I click on new pruducts:

 

 

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/hotling3/public_html/product_info.php on line 109

 

 

Here is my line 19:

 

 

document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

 

 

Can anyone see whats wrong?

 

Thank you




			
		
Posted
Hi all

Error when I click on new pruducts:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/hotling3/public_html/product_info.php on line 109

Here is my line 19:

document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

Can anyone see whats wrong?

 

Thank you

 

 

 

 

Please can someone help?

Posted

?>

 

you've got to remember that some typo's occasionally happen ;P

did you not look at your copy of product_info.php to check?

[sigh]

one-click installation..

Dave's info

Archived

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

×
×
  • Create New...