Cita:
Iniciado por truman_truman
YO creo que está bien, pero podrías tambien hacer esto, que básicamente es casi lo mismo
Código PHP:
<a href="home.php" style="background-color:#fff; <?php if( strstr($_SERVER['REQUEST_URI'], 'home.php')){echo ' color:#121212;';}?>">Home</a>
Muy Bueno tu codigo
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
, usa menos lineas, gracias por la ayuda
![sonriente](http://static.forosdelweb.com/fdwtheme/images/smilies/smile.png)
+1.