Hi good day,
i’ve got some problem here to show image with path image from database that i wanna show with <img> in CHtml::RadioButtonList,it’s possible?
-
i’ve database that save image path with colomn ‘pathMedia’
-
i wanna show it in radio input buttton that generate with CHtml::RadioButtonList, but i’ve try everything but doesn’t work
here’s my code
echo CHtml::RadioButtonList('Media','',
CHtml::listData(Media::model()->findAll("media LIKE 'card image%' "),'idMedia','pathMedia'));
thanks for help…