I got this menu made with some php help in order to add `.active` depending on the page request.

Like this:

```
<ul class="menu_lateral">
    <li><a <?php if(($_REQUEST['p']=="estufas") || ($_REQUEST['p']=="estufas-1")){?> class="active" <?php } ?> href="index.php?p=estufas">Estufas</a></li>
    <li><a <?php if($_REQUEST['p']=="recuperadores"){?> class="active" <?php } ?> href="index.php?p=recuperadores">Recuperadores</a></li>
    <li><a <?php if($_REQUEST['p']=="salamandras"){?> class="active" <?php } ?> href="index.php?p=salamandras">Salamandras</a></li>
    <li><a <?php if($_REQUEST['p']=="churrasqueiras"){?> class="active" <?php } ?> href="index.php?p=churrasqueiras">Churrasqueiras</a></li>
</ul>

```

As you can see on the first item, there is another ESTUFA page. So if the request is ESTUFAS it will add the `.active` and also add it if the request is ESTUFAS-1.

The thing is, I want to add a lot of pages, estufas-1, 2, 3, 4, 5, etc and to do so I would have to add a lot of OR's to my If or maybe change it to a Case Of. But that seems to be too much work and it will not be dynamical.

Is there any way to get it to be any number, for example:

```
if(($_REQUEST['p']=="estufas") || ($_REQUEST['p']=="estufas-ANYNUMBER"))

```

So it would add `.active` if the request was estufas or estufas-1 or estufas-2 or estufas-3, etc.

That would make things so simple.

Is there any way to do that? Or any other solution?