Jump to content

Getting syntax error, Please help !


vanvoquan

Recommended Posts

Hi everybody. I have this little code but it give me the error. I spent hours to change the period, comma, semi-colon, etc... but no hope. It make me crazy. Can any php expert show me where I have missing a period, a comma or if I have forgot something? Million thanks to you.

<script language="javascript">
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')" onMouseover="changeimage(myimages[0],this.href)"><?php if (tep_not_null($products_options_name_cuong['pc_1'])) { ?><?php echo tep_image(DIR_WS_IMAGES. $products_options_name_cuong['pc_1']); ?><?php } ?></a>' ; ?>');
</script>

Link to comment
https://forums.phpfreaks.com/topic/218704-getting-syntax-error-please-help/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.