Some other options (just because there's always more than one way to do it):
// 'or' is same as '||' except 'or' has slightly lower operator precedence:
if($row['status'] == 1 or $row['status'] == 2)
{
// Do Something
}
// use an array:
if(in_array($row['status'], array(1, 2))
{
// Do Something
}
// use a switch:
switch($row['status'])
{
case 1:
case 2:
// Do Something
break;
default:
// Do something else if it's not one of those values
}