CActiveForm labelEx combine Text
echo $form->labelEx($model,'map_id'); //get ID
if we want show as ID1, ID2, we can use CHtml::label as follow
CHtml::label(($model->map_id).$i);
echo $form->labelEx($model,'map_id'); //get ID
if we want show as ID1, ID2, we can use CHtml::label as follow
CHtml::label(($model->map_id).$i);
YiiLib Foucs on: Pro Web Dev Tutorial and Pro Web Dev Service
Copyright © 2011 - 2024 YiiLib.com(YiiBlog.info) - Designed & Developed by Boy.Lee
Leave Comment