hi all ,i tried to get the result from the table MAIL using the below query ,but it gets displayed as a array ,how can i get it?
$connection=Yii::app()->db;
$sql = "SELECT Receiver from mail";
$command=$connection->createCommand($sql);
print_r($command->queryRow());
$connection=Yii::app()->db;
$sql = "SELECT Receiver from mail";
$command=$connection->createCommand($sql);
print_r($command->queryRow());