graham23s Posted December 13, 2009 Share Posted December 13, 2009 Hi Guys, I can't figure out why i am getting a parse error with this basic ten op code: $prodTH = ($prodIA == "Y") ? "<img src=\"" . amazon_display_thumbnail($prodID) "\">" : '<img src="imgProducts/img-th/'.$productThumb.'" alt="'.$prodNM.'" border="0" /></a>'; i can't see where the error lies! any help would be appreciated thanks guys Graham Link to comment https://forums.phpfreaks.com/topic/185013-ten-operator-syntax/ Share on other sites More sharing options...
Alex Posted December 13, 2009 Share Posted December 13, 2009 You're forgetting a period: ...<img src=\"" . amazon_display_thumbnail($prodID) . "\">"... Link to comment https://forums.phpfreaks.com/topic/185013-ten-operator-syntax/#findComment-976621 Share on other sites More sharing options...
graham23s Posted December 13, 2009 Author Share Posted December 13, 2009 ah thanks Alex Graham Link to comment https://forums.phpfreaks.com/topic/185013-ten-operator-syntax/#findComment-976623 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.