Código PHP:
<?php if( $row_categoria_menu['IDCategoria'] == $row_categorias['IDCategoria'] )
echo "<span class="tcatm2"><a href="ca.php?IDCategoria=<?php echo $row_categoria_menu['IDCategoria']; ?>&tipo=A"><?php echo $row_categoria_menu['nombremenu']; ?></a></span>"; }
else { echo " <span class="tcatm"><a href="ca.php?IDCategoria=<?php echo $row_categoria_menu['IDCategoria']; ?>&tipo=A"><?php echo $row_categoria_menu['nombremenu']; ?></a></span>"; } ?>
Espero puedan darme una manito!
Gracias y besos,
Agustina.