Not Getting row from model as per column values

I want to get a row from model abc (which referes to table abc)as per values in column name xyz and 123

Where $xyz, $123 is value for both columns respectively


	$model2=abc::model()->findAllByAttributes($xyz,$123);

I am not getting the result

Can I know what is wrong?

Check this thread - http://www.yiiframework.com/forum/index.php?/topic/3721-how-can-use-findallbyattributes/