Forum Moderators: coopster
$header = (($layout == 'ver') ? array(t('Currency'), t('Buying'), t('Selling')) : (($layout == 'hor') ? array(t('Currency'), $cur[$curcodes]) : '')); and getting 'Illegal offset type'. I've done a bit of googling and found out that I can't use t('Currency') and $cur[$curcodes] in the same array. $cur works. Now, what kind of conveniences do I need to use to not get this dreadful error?