try creating the sql outside the query and change the query to this
$sql="select count(*) from t_table where row_1=10 and row_2=132";
$result=mysql_query($sql) or die ("error is".mysql_error());
this will show you the error...it might just be simple problem with datatypes - no quotes around string entries or quotes around number entries...would need to see your code and data structure to be more helpful