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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.