I'd do it like this:
// Put all restricted id's in this array
$restrict = array(123, 124, 125);
if(!in_array($catID_match, $restrict)) {
echo"<tr>";
echo"<td width='150' valign=top>";
echo "<span class='headers3'>$catID_match $name</span>";
echo"</td>";
echo"<td width='8' valign=top>";
echo"<span class='bodytext'>:-</span><br>";
echo"</td>";
echo"<td valign=top>";
echo"<span class='bodytext'>$detail</span><br>";
echo"</td>";
echo"</tr>";
}
This makes it a lot cleaner.