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 Quote 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) . "\">"... Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/185013-ten-operator-syntax/#findComment-976623 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.