Ver Mensaje Individual
  #4 (permalink)  
Antiguo 26/10/2009, 00:43
Avatar de neodani
neodani
 
Fecha de Ingreso: marzo-2007
Mensajes: 1.811
Antigüedad: 17 años, 1 mes
Puntos: 20
Respuesta: Colorear sintaxis php con highlight_file()

Cita:
Iniciado por thezzin Ver Mensaje
Un ejemplo así como te dice pateketrueke

Código HTML:

<div class="TextView" style="border: 1px inset ; overflow: auto; width: 400px; height: 150px; text-align: left;">
<pre>
<?php 
highlight_file("prueba.php");
?>
</pre>
</div>

Perfecto! Muchas gracias pateketrueke y thezzin.

Ahora solo me falta numerar las lineas...

Saludos!