- Posts: 1
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
$qid=Yii::app()->request->getParam('qid'); $oQuestion = Yii::app()->db->createCommand(); $title = $oQuestion ->select('title') ->from('lime_questions') ->where('qid=:qid', array(':qid'=>$qid)) ->queryScalar();
$x = Question::model()->find('qid=:qid',array(':qid'=>$qid));
$oQuestion = \Question::model()->findByPk(array('qid'=>$qid,'language'=>$language)); if($oQuestion) { $title = $oQuestion->title; }