condition and params in CDbCriteria

{Code}

$criteria = new CDbCriteria();

...... CODE ......

$criteria->condition .= ' and game_type_id =:game_type_id ';
$criteria->params[':game_type_id'] = $game_type_id;

{Boy Said}

Use this method, to keep your code readable and clear, and xssless also.