if($cpath == 23 || $cpath == 28 || $cpath == 65)
{
// do something
}
If there are going to be a lot of values, you can make the code a bit easier to read and edit by using an array of values:
$values = array(23, 28, 65)
if(in_array($cpath, $values))
{
// do something
}