Jump to content

unexpected T_CONSTANT_ENCAPSED_STRING


homeflair

Recommended Posts

Hi,

I recently received this error on a php page on my site "unexpected T_CONSTANT_ENCAPSED_STRING" I have looked at the line it states and I understand there may be a "." missing somewhere, but I'm not sure where. Here is the php line:

 

echo JHTML::_ ('link', JRoute::_ ('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id), $image, array('title' => $product->product_name));

 

Does anyone have any ideas? (This line is from a Joomla extension called Virtuemart).

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/266851-unexpected-t_constant_encapsed_string/
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.