An apple a day keeps the doctor away...

| Syntaxhighlighting |
|
|
|
| Donnerstag, 12. Oktober 2006 | |
Mit PHP ist es leicht möglich, eigene Scripte mit Syntaxhervorhebung (Highlight) auszugeben. Dazu wird der Funktion highlight_string der anzuzeigende Code übergeben.
<?php $strCode = "<?php echo (\"NiK-IT.de\"); ?>"; highlight_string($strCode); ?>Ausgabe: <?php echo ("NiK-IT.de"); ?>äh, ja, ok.. das hier ist Joomla!... Besser Hier: http://www.php.net/highlight_string |
| < zurück | weiter > |
|---|










