$criteria = new CDbCriteria; $criteria->addInCondition("model_id", $_POST['autoId']); $Model= Model::model()->findAll($criteria);
<?php echo getBaseUrl(true) ?>